summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorNico -telmich- Schottelius <nico-linux-git@schottelius.org>2009-03-30 11:58:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2009-03-30 16:00:04 (GMT)
commitabfd5fa8725ef1a0ffddb0d1a768cbbfbc74a972 (patch)
tree72a9cc59db057b4d4fb36905caa92e5c63c43c1c /Documentation
parent7b60d0d3e4d9bb8995a010b0304ec92d0fdff69c (diff)
downloadgit-abfd5fa8725ef1a0ffddb0d1a768cbbfbc74a972.zip
git-abfd5fa8725ef1a0ffddb0d1a768cbbfbc74a972.tar.gz
git-abfd5fa8725ef1a0ffddb0d1a768cbbfbc74a972.tar.bz2
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')
-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 046ab35..1f34948 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).