git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] describe: Document --match pattern format

From
Greg Price <price@mit.edu>
Date
Feb 25, 2013, 05:29 UTC
Message-ID
<20130225052900.GH5688@biohazard-cafe.mit.edu>

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(-)
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
Message 1 of 1 in “describe: Document --match pattern format”
  1. describe: Document --match pattern formatGreg Price, Feb 25, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.