Merge branch 'jk/describe-omit-some-refs' into maint
"git describe --match" learned to take multiple patterns in v2.13 series, but the feature ignored the patterns after the first one and did not work at all. This has been fixed. * jk/describe-omit-some-refs: describe: fix matching to actually match all patterns
This commit is contained in:
@ -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) &&
|
||||
|
Reference in New Issue
Block a user