Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t3102: document that ls-tree does not yet support negated pathspec
[gitweb.git]
/
t
/
t3102-ls-tree-wildcards.sh
diff --git
a/t/t3102-ls-tree-wildcards.sh
b/t/t3102-ls-tree-wildcards.sh
index 83fca8df8b3672446eb5f78515934a5f78646023..ef724200a67de54cc34c655567c810b2125081a8 100755
(executable)
--- 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