Skip to content

Commit

Permalink
describe: Document --match pattern format
Browse files Browse the repository at this point in the history
It's not clear in git-describe(1) what kind of "pattern" should be
passed to --match.  Fix that.

Signed-off-by: Greg Price <price@mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Greg Price authored and Junio C Hamano committed Feb 25, 2013
1 parent dff9f88 commit 5229149
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Documentation/git-describe.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,9 @@ OPTIONS
that points at object deadbee....).

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

--always::
Show uniquely abbreviated commit object as fallback.
Expand Down

0 comments on commit 5229149

Please sign in to comment.