OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c6cb98
)
t3102: document that ls-tree does not yet support negated pathspec
author
Junio C Hamano
<gitster@pobox.com>
Mon, 1 Dec 2014 19:48:34 +0000
(11:48 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 1 Dec 2014 19:49:53 +0000
(11:49 -0800)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3102-ls-tree-wildcards.sh
patch
|
blob
|
history
diff --git
a/t/t3102-ls-tree-wildcards.sh
b/t/t3102-ls-tree-wildcards.sh
index
83fca8d
..
ef72420
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