Re: Distclean does not remove gram.c - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Distclean does not remove gram.c
Date
Msg-id AANLkTill6MzULEOKiZ2GoWdqRdbwQbD815YsKiRhyYs0@mail.gmail.com
Whole thread Raw
In response to Re: Distclean does not remove gram.c  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Distclean does not remove gram.c
List pgsql-hackers
On Wed, May 26, 2010 at 8:20 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
> Gurjeet Singh wrote:
>>
>> I did a `git clean -f -d` and even that did not remove gram.c, apparently
>> because this file _was_ alive at some point in the past hence git won't
>> remove it even though the current branch does not have gram.c.
>
> At first glance that looks like a git bug.

My guess is that either .git/info/exclude or a .gitignore file
someplace says to ignore gram.c.  git clean -df will not remove such
files; you need git clean -dfx if you want that.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise Postgres Company


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Idea for getting rid of VACUUM FREEZE on cold pages
Next
From: Tatsuo Ishii
Date:
Subject: exporting raw parser