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>
Greg Price committed
Feb 25, 2013 at 00:29 UTC
52291497d1ea112137237e6c719e832599eab526
1 file changed
+3
-2
Documentation/git-describe.txt
+3
-2
@@ -81,8 +81,9 @@ OPTIONS
81
that points at object deadbee....).
82
83
--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.
87
88
--always::
89
Show uniquely abbreviated commit object as fallback.