[PATCH] Fix silly pathspec bug in git-ls-files
authorLinus Torvalds <torvalds@osdl.org>
Wed, 24 Aug 2005 00:14:13 +0000 (17:14 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 25 Aug 2005 01:53:29 +0000 (18:53 -0700)
commit569061432e3a695d5a4178d515971ddcc0a80709
tree12a7a8c4b16c92ad1c845a958ba9b5e214a630a7
parentab22707f0a9480b2fe47d20030a03994f8e5d0b3
[PATCH] Fix silly pathspec bug in git-ls-files

The "verify_pathspec()" function doesn't test for ending NUL character in
the pathspec, causing some really funky and unexpected behaviour. It just
happened to work in the cases I had tested.

Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
ls-files.c