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

From Andrew Dunstan
Subject Re: .gitignore files, take two
Date
Msg-id 4C9910E5.4090207@dunslane.net
Whole thread Raw
In response to Re: .gitignore files, take two  (Magnus Hagander <magnus@hagander.net>)
List 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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: .gitignore files, take two
Next
From: Tom Lane
Date:
Subject: Re: .gitignore files, take two