summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-09-20 13:30:01 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-09-20 13:30:01 +0900
commit3445c3dd723b222d5ceda07b13d092d73428012e (patch)
treeefdf48b07bd250e14265b17e0a58e2bd911a56e5 /t
parentThe eighth batch for 2.15 (diff)
parentdescribe: fix matching to actually match all patterns (diff)
downloadtgif-3445c3dd723b222d5ceda07b13d092d73428012e.tar.xz
Merge branch 'jk/describe-omit-some-refs' into mk/describe-match-with-all
* jk/describe-omit-some-refs: describe: fix matching to actually match all patterns
Diffstat (limited to 't')
-rwxr-xr-xt/t6120-describe.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/t/t6120-describe.sh b/t/t6120-describe.sh
index aa74eb8f0d..25110ea55d 100755
--- a/t/t6120-describe.sh
+++ b/t/t6120-describe.sh
@@ -182,10 +182,14 @@ check_describe "test2-lightweight-*" --tags --match="test2-*"
check_describe "test2-lightweight-*" --long --tags --match="test2-*" HEAD^
-check_describe "test1-lightweight-*" --long --tags --match="test1-*" --match="test2-*" HEAD^
+check_describe "test2-lightweight-*" --long --tags --match="test1-*" --match="test2-*" HEAD^
check_describe "test2-lightweight-*" --long --tags --match="test1-*" --no-match --match="test2-*" HEAD^
+check_describe "test1-lightweight-*" --long --tags --match="test1-*" --match="test3-*" HEAD
+
+check_describe "test1-lightweight-*" --long --tags --match="test3-*" --match="test1-*" HEAD
+
test_expect_success 'name-rev with exact tags' '
echo A >expect &&
tag_object=$(git rev-parse refs/tags/A) &&