summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-03-25 13:45:33 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-03-25 13:45:33 -0700
commit402c2a7ea158eb43015e9c6a517be95c8e35192e (patch)
tree5ad00faf977fa03f350fb405b183f6fcd6b6a0c2 /Documentation
parentMerge branch 'nd/doc-index-format' into maint-1.8.1 (diff)
parentdescribe: Document --match pattern format (diff)
downloadtgif-402c2a7ea158eb43015e9c6a517be95c8e35192e.tar.xz
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
Diffstat (limited to 'Documentation')
-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.