Re: Add .gitignore files to CVS?

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>
Subject: Re: Add .gitignore files to CVS?
Date: 2010-01-07 22:36:21
Message-ID: 201001072336.22420.andres@anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dimitri Fontaine 2010-01-07 22:36:57 Re: RFC: PostgreSQL Add-On Network
Previous Message Peter Eisentraut 2010-01-07 22:35:07 Re: PostgreSQL 8.5 Open Items