Re: [DOCS] 6.5.3 diff

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [DOCS] 6.5.3 diff
Дата
Msg-id Pine.BSF.4.10.9911082022200.2296-100000@thelab.hub.org
обсуждение исходный текст
Ответ на Re: [DOCS] 6.5.3 diff  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-docs
On Mon, 8 Nov 1999, Bruce Momjian wrote:

> > The Hermit Hacker wrote:
> > > 
> > > Not what program, what set of arguments for the diff command...no matter
> > > what I seem to try, someone doesn't like the patch :)
> > 
> > There's so many different arguments.... 'diff -uNr postgresql-6.5.x.orig
> > postgresql-6.5.x' works for me, and is what I use in preparing the
> > patchsets for the RPM's.  Of course, that presupposes that there is a
> > whole '.orig' tree laying around to diff against, but I fugre that's a
> > given.
> > 
> 
> While we are on the topic, can someone explain why unified diffs are
> better than context diffs.  I find unified diffs hard to read.

Damn, hadn't clued into the -u :(  unified diffs, I believe, are smaller,
and in doing a v6.5.x->v6.5.x+1 patch, are fine...context diffs contain
more "surrounding code", so that if someone else has made changes, the
patch command can generally find where the code has moved to.  That is why
we only generally accept context diffs for the source tree, since its such
a moving target...

And, if none of the above made sense, no worries...its barely making sense
to me too :(

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



В списке pgsql-docs по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [DOCS] 6.5.3 diff
Следующее
От: "neil d. quiogue"
Дата:
Сообщение: Re: [DOCS] 6.5.3 diff