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> --- Documentation/git-describe.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Show changes to Documentation/git-describe.txt +3 −2
diff --git a/Documentation/git-describe.txt b/Documentation/git-describe.txt index 72d6bb6..711040d 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.
-- 1.7.11.3