Merge branch 'gp/describe-match-uses-glob-pattern'
authorJunio C Hamano <gitster@pobox.com>
Tue, 19 Mar 2013 19:16:31 +0000 (12:16 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Mar 2013 19:16:31 +0000 (12:16 -0700)
The syntax of the pattern given to the "--match=<pattern>" argument
to "git describe" was not documented to be a glob.

* gp/describe-match-uses-glob-pattern:
describe: Document --match pattern format

Documentation/git-describe.txt
index 32da244fd55db8f8e24ea64787b61930d67cfbda..3c81e85ec5cf1b3090a879d49ad2445176312872 100644 (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.