Re: Add .gitignore files to CVS?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Add .gitignore files to CVS?
Дата
Msg-id 20137.1263079259@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Add .gitignore files to CVS?  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Add .gitignore files to CVS?  (Robert Haas <robertmhaas@gmail.com>)
Re: Add .gitignore files to CVS?  (Dimitri Fontaine <dfontaine@hi-media.com>)
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> ... What I'm interested in is being
> able to run 'git status' on a tree in which I've run a build without
> getting a lot of extra output, and that will require ignoring all the
> build products.

I'm fairly hesitant to set up ignore files that list *all* the build
products (or even all the non-.o ones) because of the probability of
error --- in particular, the likelihood that this would mask an omission
in a "make clean" rule.  The current charter for .cvsignore is
relatively safe and low-maintenance because there are so few built files
that are supposed to remain around in a distribution tree.  What you're
talking about would require a great deal more maintenance effort, and
I don't see the point compared to using a VPATH build.
        regards, tom lane


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Add .gitignore files to CVS?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Add .gitignore files to CVS?