git-clean: honor core.excludesfile
commitb57321f57b324320bdcf9f453ec4788da166f8f4
authorJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2007 09:54:43 +0000 (14 01:54 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 14 Nov 2007 10:03:29 +0000 (14 02:03 -0800)
tree8af9a77bbfd923fad2c2a4dcbdb6e9776c5a758e
parent7f55cf451c9e7c35cad2efcd0bb7bbd7c7ae29ac
git-clean: honor core.excludesfile

git-clean did not honor core.excludesfile configuration
variable, although some other commands such as git-add and
git-status did.  Fix this inconsistency.

Original report and patch from Shun'ichi Fuji.  Rewritten by me
and bugs and tests are mine.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-clean.sh
t/t7300-clean.sh