author | Junio C Hamano <gitster@pobox.com> | |
Thu, 2 Apr 2009 02:34:03 +0000 (19:34 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 2 Apr 2009 02:35:31 +0000 (19:35 -0700) | ||
commit | 8092bfb6c23776d72ce4b38a3b517c3753c3b9fe | |
tree | 1bb24e2b99a36d5b58aedb9805e663c5d11b1569 | tree | snapshot |
parent | f0946cb826b9b6c01976860fdd9dfd498ce0ec5e | commit | diff |
match_tree_entry(): a pathspec only matches at directory boundaries
Previously the code did a simple prefix match, which means that a path in
a directory "frotz/" would have matched with pathspec "f".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Previously the code did a simple prefix match, which means that a path in
a directory "frotz/" would have matched with pathspec "f".
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3101-ls-tree-dirname.sh | diff | blob | history | |
tree.c | diff | blob | history |