From: Matthieu Moy Date: Thu, 15 Nov 2007 10:07:43 GMT Subject: Re: git-clean won't read global ignore Message-ID: In-Reply-To: <7vsl39l0b7.fsf@gitster.siamese.dyndns.org> Junio C Hamano writes: > We probably could change git-ls-files to use the standard set > when no excludes are specified from the command line, or > something like that, but this will be a change in semantics that > would affect the scripts in a subtle way. I am somewhat > reluctant to make such a change. +1 for your introduction of setup_standard_excludes(). And woh, I was writting a mail to say that adding a --exclude-standard would be cool, but it has been implemented even before I said it would be cool. Nothing to add, except "Thanks Junio, Thanks Jeff!" :-). At last, I'll be able to write $ git ls-files -o --exclude-standard >> .gitignore $ $EDITOR .gitignore -- Matthieu