Re: "git add $ignored_file" fail

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Santi
Date: Tuesday, May 16, 2006 - 3:42 pm

2006/5/17, Linus Torvalds <torvalds@osdl.org>:

It's consistent from an implementation point of view, but not from the
(my?) user point of view. This is why I say I understand it for
git-ls-files. For the case of git-add even the usage and the man page
talk about <file>...

Clearly for the case of a whole subdirectory, or even ".",  the
.gitignore file must override the pattern, but not for the case of a
pattern that is a single existing file.

Santi
-
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
&quot;git add $ignored_file&quot; fail, Santi, (Tue May 16, 3:07 pm)
Re: &quot;git add $ignored_file&quot; fail, Linus Torvalds, (Tue May 16, 3:28 pm)
Re: "git add $ignored_file" fail, Santi, (Tue May 16, 3:42 pm)
Re: &quot;git add $ignored_file&quot; fail, Johannes Schindelin, (Wed May 17, 4:08 am)