author | Junio C Hamano <gitster@pobox.com> | |
Sat, 11 Sep 2010 18:47:09 +0000 (11:47 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 12 Sep 2010 20:52:03 +0000 (13:52 -0700) | ||
commit | b294ed637d3c13cd96ba6f0e464e02e170cc54a6 | |
tree | f5606a75fdfbfb5c1cdf35def8ccc2ff7ae103ff | tree | snapshot |
parent | 9904fadfea002edf2ef22e8ec9a978e45d1f540b | commit | diff |
ls-tree $di $dir: do not mistakenly recurse into directories
When applying two pathspecs, one of which is named as a prefix to the
other, we mistakenly recursed into the shorter one.
Noticed and fixed by David Reis.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
When applying two pathspecs, one of which is named as a prefix to the
other, we mistakenly recursed into the shorter one.
Noticed and fixed by David Reis.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/ls-tree.c | diff | blob | history | |
t/t3100-ls-tree-restrict.sh | diff | blob | history |