Re: .gitignore files, take two

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: .gitignore files, take two
Дата
Msg-id AANLkTikE5OkPS5YkLjA3zCkw93phvwWO=e9oFsNWuMwM@mail.gmail.com
обсуждение исходный текст
Ответ на Re: .gitignore files, take two  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: .gitignore files, take two  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: .gitignore files, take two  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On Tue, Sep 21, 2010 at 21:32, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> On Tue, Sep 21, 2010 at 20:59, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Just paranoia, I guess.  I can't actually see a reason why we'd have
>>> any committable files in the tree matching that pattern.  OTOH, we
>>> probably also need the same type of pattern for .sl and .dylib,
>>> so at some point a more conservative pattern would be wise.
>
>> Do we know what the exact pattern would be for .sl and .dylib? Are
>> they following the same basic pattern of .sl.<major>.<minor>?
>
> Yes, they'll be just the same --- Makefile.shlib treats all those
> extensions alike.

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?

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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: .gitignore files, take two
Следующее
От: Tom Lane
Дата:
Сообщение: Re: .gitignore files, take two