X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft3100-ls-tree-restrict.sh;h=81d90b66c50e75323a44aaf5e2e067d5a3569e6a;hb=267684f0b7428583ba88c4acc0e9ef322a36b3ff;hp=eee0d344d24623ad9928366729c8efaea699fcd7;hpb=bc32d342c2aaa1fa425e7924e4b64951a76bb314;p=git.git diff --git a/t/t3100-ls-tree-restrict.sh b/t/t3100-ls-tree-restrict.sh index eee0d344d..81d90b66c 100755 --- a/t/t3100-ls-tree-restrict.sh +++ b/t/t3100-ls-tree-restrict.sh @@ -165,4 +165,13 @@ test_expect_success \ EOF test_output' +test_expect_success \ + 'ls-tree with one path a prefix of the other' \ + 'git ls-tree $tree path2/baz path2/bazbo >current && + make_expected <<\EOF && +040000 tree X path2/baz +120000 blob X path2/bazbo +EOF + test_output' + test_done