]> git.ipfire.org Git - thirdparty/git.git/commit - t/t3100-ls-tree-restrict.sh
ls-tree: match the test to the new semantics.
authorJunio C Hamano <junkio@cox.net>
Mon, 28 Nov 2005 10:32:42 +0000 (02:32 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 29 Nov 2005 07:06:29 +0000 (23:06 -0800)
commit246cc52f388cae8ca99e5a12b8458c9bfa467765
tree2bac4ed4b5d0b6b3d995bef893d2161e90bac517
parent32b5904b5f94829aa7ae11b585ca9c639d57cc74
ls-tree: match the test to the new semantics.

The diff for this commit is a good illustration of what changed
in ls-tree behaviour.

 - With -r, tree nodes themselves are not shown anymore, but
   blobs in subtrees are shown.

 - The order of paths parameters do not matter, since they are
   not like arguments to /bin/ls, but are filter patterns.

 - When filter patterns overlap, unintuitive things happen.

Signed-off-by: Junio C Hamano <junkio@cox.net>
t/t0000-basic.sh
t/t3100-ls-tree-restrict.sh
t/t3101-ls-tree-dirname.sh