Re: Add .gitignore files to CVS?

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Add .gitignore files to CVS?
Дата
Msg-id 4B4900B3.2000300@dunslane.net
обсуждение исходный текст
Ответ на Re: Add .gitignore files to CVS?  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Add .gitignore files to CVS?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers

Robert Haas wrote:
> On Sat, Jan 9, 2010 at 12:00 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>   
>> Peter Eisentraut <peter_e@gmx.net> writes:
>>     
>>> On fre, 2010-01-08 at 12:04 -0300, Alvaro Herrera wrote:
>>>       
>>>> Do .gitignore files have the same format as .cvsignore?
>>>>         
>>> The format is the same, but while cvsignore files currently list a few
>>> dozen files, the proposed gitignore would list all files that are ever
>>> build anywhere.
>>>       
>> The charter of the .cvsignore files is to ignore files that are not in
>> the repository but are nonetheless left behind after "make distclean".
>> Any git-oriented replacement should behave the same IMO.
>>     
>
> Oh.  Never mind.  That doesn't seem useful enough to be worth spending
> time on.  What I want is to ignore all of the build products, so that
> when I do 'git status' in my working tree, I only see the the files
> I've actually added/changed.  Now that you mention it, I think I had
> the same complaint about the .cvsignore files back when I was using
> CVS.  It seems like an odd charter.
>
>   

Use a vpath build, and you'll keep those artifacts out of your source tree.

cheers

andrew


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

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