Re: .gitignore files, take two

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: .gitignore files, take two
Дата
Msg-id 6013.1285091193@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: .gitignore files, take two  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: .gitignore files, take two  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Tue, Sep 21, 2010 at 17:27, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Why does this entry have a / when none of the rest do? �Shouldn't
>> we be consistent about that?

> We should. I've removed it.

> The difference is that "zic" matches zic in any subdirectory and
> "/zic" matches just in the top dir. But we're not having any other
> thing called zic further down - it's really only a potential problem
> at the top level.

Hmm.  In leaf subdirectories it doesn't matter of course, but I'm
worried about .gitignore files in non-leaf subdirectories accidentally
excluding files further down the tree.  Wouldn't it be better to
standardize on always using the slash, rather than not using it?

> Btw, what's the "stamp-h" file? Should that be excluded globally?

I'd say no, there's only one or two instances.
        regards, tom lane


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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: What happened to the is_ family of functions proposal?
Следующее
От: fazool mein
Дата:
Сообщение: Re: Shutting down server from a backend process, e.g. walrceiver