Merge branch 'gp/describe-match-uses-glob-pattern' into maint-1.8.1
authorJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2013 20:45:33 +0000 (13:45 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2013 20:45:33 +0000 (13:45 -0700)
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

Documentation/git-describe.txt
index 72d6bb612ba8890a7f2a8c3ff13820a53918c74a..711040d2f1b8537623f633c3d0207ef4e27e1877 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.