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

[PATCH] [PATCH] git-tag(1): add hint about commit messages

From
NSNico -telmich- Schottelius <nico-linux-git@schottelius.org>
Date
Mar 30, 2009, 11:58 UTC
Message-ID
<20090330115821.GA7314@denkbrett.schottelius.org>

If a tag is not annotated, git tag displays the commit message instead. Add this hint to the manpage to unhide this secret.

Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
---
 Documentation/git-tag.txt |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index 533d18b..fa73321 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -63,6 +63,7 @@ OPTIONS
 	are printed when using -l.
 	The default is not to print any annotation lines.
 	If no number is given to `-n`, only the first line is printed.
+	If the tag is not annotated, the commit message is displayed instead.
 
 -l <pattern>::
 	List tags with names that match the given pattern (or all if no pattern is given).
-- 
1.6.2
Message 1 of 1 in “git-tag(1): add hint about commit messages”
  1. [PATCH] git-tag(1): add hint about commit messagesNico -telmich- Schottelius, Mar 30, 2009

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.