Fix wrong filename listing bug in git-ls-tree.
authorrobfitz@273k.net <robfitz@273k.net>
Fri, 7 Oct 2005 23:54:06 +0000 (16:54 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 7 Oct 2005 23:54:06 +0000 (16:54 -0700)
commitab1630a3ed31d6ec5ae83769c78ed542fe3c4a28
tree9e0a3a2424f0e55233f1e59b049864a1af515410
parentab1824787dbbe31f96c56e37358b2288014c2db7
Fix wrong filename listing bug in git-ls-tree.

This patch fixes a bug in git-ls-tree in which the wrong filenames are
listed if the exact same file and directory contents are present in
another location in the tree.

Added a new series of test cases for directory and filename handling.

Signed-off-by: Robert Fitzsimons <robfitz@273k.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
ls-tree.c
t/t3101-ls-tree-dirname.sh [new file with mode: 0644]