Re: "git add $ignored_file" fail

From: Linus Torvalds <torvalds@osdl.org>
Date: 2006-05-18 00:49:03
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
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu May 18 00:49:48 2006

This archive was generated by hypermail 2.1.8 : 2006-05-18 00:50:08 EST