threads / patch / 18641

patchgit-tag(1): add hint about commit messages

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

## tl;dr

One message between Mar 30, 2009 and Mar 30, 2009. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Nico -telmich- Schottelius· Mar 30, 2009, 11:58 UTC · lore

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(-)
Show changes to Documentation/git-tag.txt +1 −0
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

← back to recent threads