Skip to content

Commit 4be4f71

Browse files
committed
t3102: document that ls-tree does not yet support negated pathspec
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 5c6cb98 commit 4be4f71

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

t/t3102-ls-tree-wildcards.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,10 @@ EOF
2727
test_cmp expected actual
2828
'
2929

30+
test_expect_failure 'ls-tree does not yet support negated pathspec' '
31+
git ls-files ":(exclude)a" "a*" >expect &&
32+
git ls-tree --name-only -r HEAD ":(exclude)a" "a*" >actual &&
33+
test_cmp expect actual
34+
'
35+
3036
test_done

0 commit comments

Comments
 (0)