Re: .gitignore files, take two

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: .gitignore files, take two
Date: 2010-09-22 12:11:46
Message-ID: AANLkTimbmyJ2wNmzAHmbWygHpT+z3x0DLuudbw63mo3A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 21, 2010 at 22:23, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Magnus Hagander <magnus(at)hagander(dot)net> writes:
>> On Tue, Sep 21, 2010 at 22:15, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> Global patterns look ok to me.  Thought you were going to stick leading
>>> slashes on all the others?
>
>> Oh, misunderstood. I thought the idea was just slashes in the
>> top-level ones, not the leaf ones. But I'll add it to those as well
>> then :-)
>
> I think it'd be wise to have a convention of leading slash anywhere
> the pattern is not meant to be global.  It won't matter to git in
> leaf dirs, but it might prevent somebody from making a copy-and-paste
> error later; or perhaps more likely, might prevent a problem if what
> had been a leaf directory acquires children.

Done and applied.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2010-09-22 12:12:18 Re: Configuring synchronous replication
Previous Message Andrew Dunstan 2010-09-22 12:00:28 Re: snapshot generation broken