From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Alex Hunsaker <badalex(at)gmail(dot)com>, Tim Bunce <Tim(dot)Bunce(at)pobox(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Add .gitignore files to CVS? |
Date: | 2010-01-09 22:19:47 |
Message-ID: | 603c8f071001091419k5e415176l273ec9e15ebbc9a5@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Jan 9, 2010 at 5:18 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> Robert Haas wrote:
>> On Sat, Jan 9, 2010 at 12:00 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>> Peter Eisentraut <peter_e(at)gmx(dot)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.
I suppose that's one answer, but of what use is it to ignore only the
'make distclean' leftovers?
...Robert
From | Date | Subject | |
---|---|---|---|
Next Message | Tim Bunce | 2010-01-09 22:27:48 | Re: mailing list archiver chewing patches |
Previous Message | Andrew Dunstan | 2010-01-09 22:18:27 | Re: Add .gitignore files to CVS? |