Skip to content

Commit abfd5fa

Browse files
Nico -telmich- Schotteliusgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7b60d0d commit abfd5fa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/git-tag.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ OPTIONS
6363
are printed when using -l.
6464
The default is not to print any annotation lines.
6565
If no number is given to `-n`, only the first line is printed.
66+
If the tag is not annotated, the commit message is displayed instead.
6667

6768
-l <pattern>::
6869
List tags with names that match the given pattern (or all if no pattern is given).

0 commit comments

Comments
 (0)