summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-12-01 11:48:34 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-12-01 11:49:53 -0800
commit4be4f71f55c5677a2671894cd218e311862a98ad (patch)
tree1a1324fc9d431199748ed6769e79935e8dab3f1d /t
parentls-tree: disable negative pathspec because it's not supported (diff)
downloadtgif-4be4f71f55c5677a2671894cd218e311862a98ad.tar.xz
t3102: document that ls-tree does not yet support negated pathspec
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t3102-ls-tree-wildcards.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/t3102-ls-tree-wildcards.sh b/t/t3102-ls-tree-wildcards.sh
index 83fca8df8b..ef724200a6 100755
--- a/t/t3102-ls-tree-wildcards.sh
+++ b/t/t3102-ls-tree-wildcards.sh
@@ -27,4 +27,10 @@ EOF
test_cmp expected actual
'
+test_expect_failure 'ls-tree does not yet support negated pathspec' '
+ git ls-files ":(exclude)a" "a*" >expect &&
+ git ls-tree --name-only -r HEAD ":(exclude)a" "a*" >actual &&
+ test_cmp expect actual
+'
+
test_done