diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-12-01 11:48:34 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-12-01 11:49:53 -0800 |
commit | 4be4f71f55c5677a2671894cd218e311862a98ad (patch) | |
tree | 1a1324fc9d431199748ed6769e79935e8dab3f1d /t/t3102-ls-tree-wildcards.sh | |
parent | 5c6cb9888df9d21ddbb5c3478d511edcdf3cda7c (diff) | |
download | git-4be4f71f55c5677a2671894cd218e311862a98ad.tar.gz |
t3102: document that ls-tree does not yet support negated pathspec
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t3102-ls-tree-wildcards.sh')
-rwxr-xr-x | t/t3102-ls-tree-wildcards.sh | 6 |
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 |