Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id B656C9FB827; Wed, 16 May 2007 11:59:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 65317-04; Wed, 16 May 2007 11:59:32 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from fetter.org (start.fetter.org [66.92.188.65]) by postgresql.org (Postfix) with ESMTP id A6A0C9FB660; Wed, 16 May 2007 11:59:37 -0300 (ADT) Received: by fetter.org (Postfix, from userid 500) id 931FDF3C38D; Wed, 16 May 2007 07:59:36 -0700 (PDT) Date: Wed, 16 May 2007 07:59:36 -0700 From: David Fetter To: Gregory Stark Cc: Heikki Linnakangas , "Jim C. Nasby" , Mark Kirkwood , Alvaro Herrera , Tom Lane , Andrew Dunstan , PostgreSQL Docs , PostgreSQL Patches Subject: Re: [PATCHES] OS/X startup scripts Message-ID: <20070516145936.GC6858@fetter.org> References: <4647D81C.7080802@paradise.net.nz> <20070514173556.GW14860@fetter.org> <20070514191615.GA31201@alvh.no-ip.org> <464912F0.6010005@paradise.net.nz> <20070515024451.GI4429@alvh.no-ip.org> <46492A91.20007@paradise.net.nz> <20070516002935.GH20707@nasby.net> <464ABCE7.7040200@enterprisedb.com> <20070516141549.GB6858@fetter.org> <874pmc3jml.fsf@oxford.xeocode.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <874pmc3jml.fsf@oxford.xeocode.com> User-Agent: Mutt/1.4.2.2i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200705/46 X-Sequence-Number: 4275 On Wed, May 16, 2007 at 03:53:22PM +0100, Gregory Stark wrote: > "David Fetter" 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. Not when I do "cvs diff." Is there something I should (un)set in my .cvsrc? > 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. IMHO, the diffs also need to be human-readable, and 500 useless lines starting with "?" don't help with that. Cheers, D -- David Fetter http://fetter.org/ phone: +1 415 235 3778 AIM: dfetter666 Skype: davidfetter Remember to vote! Consider donating to PostgreSQL: http://www.postgresql.org/about/donate