Re: [PATCHES] OS/X startup scripts - Mailing list pgsql-docs

From Gregory Stark
Subject Re: [PATCHES] OS/X startup scripts
Date
Msg-id 874pmc3jml.fsf@oxford.xeocode.com
Whole thread Raw
In response to Re: [PATCHES] OS/X startup scripts  (David Fetter <david@fetter.org>)
List pgsql-docs
"David Fetter" <david@fetter.org> writes:

> On Wed, May 16, 2007 at 09:12:23AM +0100, Heikki Linnakangas wrote:
>> Jim C. Nasby wrote:
>> >BTW, is there some trick to getting cvs diff to ignore files that
>> >aren't in the repo?
>>
>> Trick? That's what it does by default.
>
> I suspect he's talking about all the lines starting with '?' that diff
> produces.
>
> Lacking sophistication, I've been known to do:
>
> cvs diff [list of files here] |grep -v '^?' > the_file.diff

Those lines go to stderr. If you do "cvs diff > file" it spits out all the cvs
file statuses to the terminal but dumps the diff to the file.

It doesn't matter, diffs can contain arbitrary junk between the file diffs.
patch only looks at the things it recognizes.


--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com


pgsql-docs by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [PATCHES] OS/X startup scripts
Next
From: Bruce Momjian
Date:
Subject: Re: OS/X startup scripts