Skip to content

Commit

Permalink
git-tag(1): add hint about commit messages
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nico -telmich- Schottelius authored and Junio C Hamano committed Mar 30, 2009
1 parent 7b60d0d commit abfd5fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/git-tag.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit abfd5fa

Please sign in to comment.