summaryrefslogtreecommitdiff
path: root/Documentation/git-describe.txt
diff options
context:
space:
mode:
authorGreg Price <price@MIT.EDU>2013-02-25 00:29:01 -0500
committerJunio C Hamano <gitster@pobox.com>2013-02-24 22:24:48 -0800
commit52291497d1ea112137237e6c719e832599eab526 (patch)
tree16ec3694d0ee358685529470d0b9dcd1651e75eb /Documentation/git-describe.txt
parentdff9f8835f2f2820c4e7109d242cb06b39f7d065 (diff)
downloadgit-52291497d1ea112137237e6c719e832599eab526.tar.gz
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>
Diffstat (limited to 'Documentation/git-describe.txt')
-rw-r--r--Documentation/git-describe.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-describe.txt b/Documentation/git-describe.txt
index 72d6bb612b..711040d2f1 100644
--- a/Documentation/git-describe.txt
+++ b/Documentation/git-describe.txt
@@ -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.