Re: Add .gitignore files to CVS?

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, Tom Lane <tgl@sss.pgh.pa.us>, Alvaro Herrera <alvherre@commandprompt.com>, Magnus Hagander <magnus@hagander.net>, Alex Hunsaker <badalex@gmail.com>, Tim Bunce <Tim.Bunce@pobox.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2010-01-09T22:51:23Z
Lists: pgsql-hackers
On lör, 2010-01-09 at 17:19 -0500, Robert Haas wrote:
> >> Oh.  Never mind.  That doesn't seem useful enough to be worth spending
> >> time on.  What I want is to ignore all of the build products, so that
> >> when I do 'git status' in my working tree, I only see the the files
> >> I've actually added/changed.  Now that you mention it, I think I had
> >> the same complaint about the .cvsignore files back when I was using
> >> CVS.  It seems like an odd charter.
> >>
> > Use a vpath build, and you'll keep those artifacts out of your source tree.
> 
> I suppose that's one answer, but of what use is it to ignore only the
> 'make distclean' leftovers?

That charter was established before make maintainer-clean was invented.