aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-tag.txt
diff options
context:
space:
mode:
authorNico -telmich- Schottelius <nico-linux-git@schottelius.org>2009-03-30 13:58:21 +0200
committerJunio C Hamano <gitster@pobox.com>2009-03-30 09:00:04 -0700
commitabfd5fa8725ef1a0ffddb0d1a768cbbfbc74a972 (patch)
tree72a9cc59db057b4d4fb36905caa92e5c63c43c1c /Documentation/git-tag.txt
parent7b60d0d3e4d9bb8995a010b0304ec92d0fdff69c (diff)
downloadgit-abfd5fa8725ef1a0ffddb0d1a768cbbfbc74a972.tar.gz
git-tag(1): add hint about commit messages
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> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-tag.txt')
-rw-r--r--Documentation/git-tag.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index 046ab3542b..1f34948167 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).