1
0
mirror of https://github.com/git/git synced 2024-07-05 00:58:49 +00:00

describe: Document --match pattern format

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>
This commit is contained in:
Greg Price 2013-02-25 00:29:01 -05:00 committed by Junio C Hamano
parent dff9f8835f
commit 52291497d1

View File

@ -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.