From: Linus Torvalds Date: Wed, 17 May 2006 14:49:03 GMT Subject: Re: "git add $ignored_file" fail Message-ID: In-Reply-To: <8aa486160605170641p2ab8704o@mail.gmail.com> On Wed, 17 May 2006, Santi wrote: > > In the other way, now I find the value of being able to say: > > $ git add t* Exactly. The shell will expand the path, so the fact that the path exists on the command line does not mean that "git add" should just trust it. > and be sure that it does not add an ignored file. Unfortunately > git-add cannot distinguish between both. So what I propose is to > document it explicitly, something like: Documenting this more clearly (and the workaround of forcing it with "git-update-index --add" by hand) is certainly a good idea. Linus