Re: Add .gitignore files to CVS?
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: pgsql-hackers@postgresql.org
Cc: Peter Eisentraut <peter_e@gmx.net>,
Tim Bunce <Tim.Bunce@pobox.com>
Date: 2010-01-07T22:36:21Z
Lists: pgsql-hackers
On Thursday 07 January 2010 23:32:27 Peter Eisentraut wrote: > On tor, 2010-01-07 at 22:16 +0000, Tim Bunce wrote: > > I've a .git/info/exclude file I pulled from a link on the dev wiki. > > > > Some of the changes I'm making create new files that ought to be added > > to the excluded files. I can easily add them to my .git/info/exclude > > file but it's much more work for me and others to spread those changes. > > > > Is there any reason not to add .gitignore files into the repository? > > They'll make no difference to those who don't use git, but be very > > helpful to, and maintained by, those who do. > > I already find the .cvsignore files to be useless and an annoyance to > keep up to date (well, I basically ignore them and someone else cleans > up after me), but if you are thinking about > <http://wiki.postgresql.org/wiki/GitExclude>, which looks like an > outdated list of every single file that is built, then I think that is > going completely overboard. Why don't you just ignore every single file > by default and override it on a case-by-case basis? That would at least > give reliable results. Because that way you forget new files in patches way much easier. Andres