Re: [PATCH] allow pathspec to end with a slash

From: Linus Torvalds <torvalds@osdl.org>
Date: 2005-06-01 01:32:15
Junio, 
 pathspec is still subtly broken.

Just removing the slash at the end is not the right thing to do, since 
that means that

	git-diff-files drivers/char/

will trigger on a _file_ "drivers/char", even though the spec makes it 
unambiguous that the user only wants to see stuff under that directory.

Again, git-diff-tree gets this right (not to say that it always did - I
had to fix "interesting()" several times, exactly because it's not that 
simple).

		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 Wed Jun 01 01:30:40 2005

This archive was generated by hypermail 2.1.8 : 2005-06-01 01:30:41 EST