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

From Tom Lane
Subject Re: .gitignore files, take two
Date
Msg-id 8308.1285099608@sss.pgh.pa.us
Whole thread Raw
In response to Re: .gitignore files, take two  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> My gitignore manpage doesn't say anything about supporting regular
> expressions at all. And actually adding the line proposed by Peter
> doesn't work.

Yeah, I was wondering about that.  They're meant to be shell patterns
not regexps, I think.

> What works is adding all of:
> *.so
> *.so.[0-9]
> *.so.[0-9].[0-9]

> That will break if there's a two-digit number, i guess. Do we want to
> go with that anyway?

What we can do, when and if any of those numbers get to two digits,
is add

*.so.[0-9][0-9]

etc etc.  Which would not need to be back-patched.  So let's just go in
that direction.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: .gitignore files, take two
Next
From: Andrew Dunstan
Date:
Subject: Re: .gitignore files, take two