Re: .gitignore files, take two

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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-21 20:09:09
Message-ID: 4C9910E5.4090207@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09/21/2010 03:43 PM, Magnus Hagander wrote:
>
> Hmm. Hold on.
>
> My gitignore manpage doesn't say anything about supporting regular
> expressions at all. And actually adding the line proposed by Peter
> doesn't work.
>
> 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?
>

They are shell globs. You could just add more patterns for the two digit
cases if you care about it. It would be four more patterns for .so*

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-09-21 20:11:50 Re: .gitignore files, take two
Previous Message Tom Lane 2010-09-21 20:06:48 Re: .gitignore files, take two