Skip to content

Commit 402c2a7

Browse files
committed
Merge branch 'gp/describe-match-uses-glob-pattern' into maint-1.8.1
The "--match=<pattern>" argument "git describe" takes uses glob pattern but it wasn't obvious from the documentation. * gp/describe-match-uses-glob-pattern: describe: Document --match pattern format
2 parents a7b6ad5 + 5229149 commit 402c2a7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Documentation/git-describe.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,9 @@ OPTIONS
8181
that points at object deadbee....).
8282

8383
--match <pattern>::
84-
Only consider tags matching the given pattern (can be used to avoid
85-
leaking private tags made from the repository).
84+
Only consider tags matching the given `glob(7)` pattern,
85+
excluding the "refs/tags/" prefix. This can be used to avoid
86+
leaking private tags from the repository.
8687

8788
--always::
8889
Show uniquely abbreviated commit object as fallback.

0 commit comments

Comments
 (0)