Re: .gitignore files, take two - Mailing list pgsql-hackers

From Tom Lane
Subject Re: .gitignore files, take two
Date
Msg-id 8634.1285100625@sss.pgh.pa.us
Whole thread Raw
In response to Re: .gitignore files, take two  (Magnus Hagander <magnus@hagander.net>)
Responses Re: .gitignore files, take two
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Tue, Sep 21, 2010 at 22:15, Tom Lane <tgl@sss.pgh.pa.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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: ALTER TYPE extensions
Next
From: Pavel Stehule
Date:
Subject: Re: wip: functions median and percentile