From 4be4f71f55c5677a2671894cd218e311862a98ad Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Mon, 1 Dec 2014 11:48:34 -0800 Subject: [PATCH] t3102: document that ls-tree does not yet support negated pathspec Signed-off-by: Junio C Hamano --- t/t3102-ls-tree-wildcards.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.47.1