author | Linus Torvalds <torvalds@osdl.org> | |
Wed, 24 Aug 2005 00:14:13 +0000 (17:14 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 25 Aug 2005 01:53:29 +0000 (18:53 -0700) | ||
commit | 569061432e3a695d5a4178d515971ddcc0a80709 | |
tree | 12a7a8c4b16c92ad1c845a958ba9b5e214a630a7 | tree | snapshot |
parent | ab22707f0a9480b2fe47d20030a03994f8e5d0b3 | commit | diff |
[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>
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 | diff | blob | history |