Re: git clean --exclude broken?
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 24, 2011, 21:23 UTC
- Message-ID
- <7vliuio65w.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <A04A4D84-16CC-438C-8828-0D11BE9DE2DA@cpanel.net>
Todd Rinaldo <toddr@cpanel.net> writes:
> I think I have found a new bug in 1.7.5:
My quick check indicates 1.7.3 behaves the same way, and 1.7.2.5 didn't have --exclude option, so this does not seem to be anything particularly new in the 1.7.5 release.
> # The problem (Why is foo/ removed?) > $>git clean -dXf --exclude=/foo > Removing bar/ > Removing foo/
Why is this command line giving -X that tells us not to use the ignore rules, and --exclude option at the same time?