threads / patch / 33001

patchdescribe: Document --match pattern format

Subject: [PATCH] describe: Document --match pattern format

## tl;dr

One message between Feb 25, 2013 and Feb 25, 2013. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Greg Price· Feb 25, 2013, 05:29 UTC · lore

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

← back to recent threads