Re: Distclean does not remove gram.c

From: Gurjeet Singh <singh(dot)gurjeet(at)gmail(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, PGSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Distclean does not remove gram.c
Date: 2010-05-27 15:27:55
Message-ID: AANLkTim8AOoxzIn7ia8ISMo6Cm-v8LV6XLsQxTZTyVk5@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 26, 2010 at 9:00 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> On Wed, May 26, 2010 at 8:20 PM, Andrew Dunstan <andrew(at)dunslane(dot)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.
>

Yes indeed, -x is what I needed.

Thanks.
--
gurjeet.singh
@ EnterpriseDB - The Enterprise Postgres Company
http://www.enterprisedb.com

singh(dot)gurjeet(at){ gmail | yahoo }.com
Twitter/Skype: singh_gurjeet

Mail sent from my BlackLaptop device

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2010-05-27 15:38:44 Re: List traffic
Previous Message Peter Eisentraut 2010-05-27 15:24:36 Re: pg_trgm