Re: .gitignore files, take two

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: .gitignore files, take two
Дата
Msg-id 3332.1285082858@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: .gitignore files, take two  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: .gitignore files, take two  (Magnus Hagander <magnus@hagander.net>)
Re: .gitignore files, take two  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> Breaking it up was quite trivial. Here's what I came up with after
> building on my box. I'm sure there are some on other platforms showing
> up, but this should be the majority.

> I just realized it does not include contrib, but's that a mechanical
> copy of the same thing.

> So if we want to go with this way, i have the scripts/changes ready :)

This works for me, modulo some things:

If we are going to ignore *.so at the top level, we also need to ignore
*.sl (for HPUX) and *.dll (for Windows).  I also wonder why we have
entries like this:

> +libecpg.a
> +libecpg.so.*

rather than global ignore patterns for *.a and *.so.[0-9]

We should probably ignore src/Makefile.custom, since that is still a
supported way to customize builds (and some of us still use it).

> diff --git a/src/timezone/.gitignore b/src/timezone/.gitignore
> new file mode 100644
> index 0000000..f844c9f
> --- /dev/null
> +++ b/src/timezone/.gitignore
> @@ -0,0 +1 @@
> +/zic

Why does this entry have a / when none of the rest do?  Shouldn't
we be consistent about that?
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Configuring synchronous replication
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: moving development branch activity to new git repo