From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
Cc: | pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Re: gitignore |
Date: | 2010-09-24 08:36:55 |
Message-ID: | AANLkTim97eMJPeW_xqC39gRVgeCbQdpuSwdBV5z_gfMW@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
On Fri, Sep 24, 2010 at 10:34, Guillaume Lelarge <guillaume(at)lelarge(dot)info> wrote:
> Le 24/09/2010 10:23, Magnus Hagander a écrit :
>> On Fri, Sep 24, 2010 at 10:17, Guillaume Lelarge <guillaume(at)lelarge(dot)info> wrote:
>>> I was reading pgsql-hackers this morning while waiting for my
>>> colleagues. There's an interesting thread on gitignore files. Right now,
>>> when you grab a git branch, bootstrap it, configure it and make it, "git
>>> status" shows a lot of uninteresting files. A .gitignore file would help
>>> to notice changed files. I've come with the file attached, but would
>>> like to get comments on this.
>>
>> Haven't looked at the contents of the file, but definitely +1 on the
>> concept in genereal (probably not surprising, since I did the same
>> thing for the postgresql repo :P)
>>
>
> Yeah, I took a look at the mail where you show all the changes done, and
> I worked from this. I have one question about it. There is many
> .gitignore files. Why not a single one? what are the advantages of the
> multi-file way?
That you'll always find the local targets in the directory you're
currently working, and when you need to add a new one, you do it next
to the file where it was done.
That was actually discussed in the thread on -hackers :P
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Magnus Hagander | 2010-09-24 08:38:20 | Re: Documentation |
Previous Message | Guillaume Lelarge | 2010-09-24 08:35:56 | Re: gitignore |