Skip site navigation (1) Skip section navigation (2)

Re: [PATCHES] OS/X startup scripts

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "David Fetter" <david(at)fetter(dot)org>
Cc: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>, "Jim C(dot) Nasby" <decibel(at)decibel(dot)org>, "Mark Kirkwood" <markir(at)paradise(dot)net(dot)nz>, "Alvaro Herrera" <alvherre(at)commandprompt(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "PostgreSQL Docs" <pgsql-docs(at)postgresql(dot)org>, "PostgreSQL Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [PATCHES] OS/X startup scripts
Date: 2007-05-16 14:53:22
Message-ID: 874pmc3jml.fsf@oxford.xeocode.com (view raw or flat)
Thread:
Lists: pgsql-docspgsql-patches
"David Fetter" <david(at)fetter(dot)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


In response to

Responses

pgsql-docs by date

Next:From: David FetterDate: 2007-05-16 14:59:36
Subject: Re: [PATCHES] OS/X startup scripts
Previous:From: Alvaro HerreraDate: 2007-05-16 14:38:23
Subject: Re: [PATCHES] OS/X startup scripts

pgsql-patches by date

Next:From: David FetterDate: 2007-05-16 14:59:36
Subject: Re: [PATCHES] OS/X startup scripts
Previous:From: Alvaro HerreraDate: 2007-05-16 14:38:23
Subject: Re: [PATCHES] OS/X startup scripts

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group