Skip to content

Commit cbb408e

Browse files
committed
Merge branch 'rd/tag-doc-lightweight'
Docfix. * rd/tag-doc-lightweight: tag: clarify in the doc that a tag can refer to a non-commit object
2 parents 7659bda + 590551c commit cbb408e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/git-tag.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ in the tag message.
3434
If `-m <msg>` or `-F <file>` is given and `-a`, `-s`, and `-u <keyid>`
3535
are absent, `-a` is implied.
3636

37-
Otherwise just a tag reference for the SHA-1 object name of the commit object is
38-
created (i.e. a lightweight tag).
37+
Otherwise, a tag reference that points directly at the given object
38+
(i.e., a lightweight tag) is created.
3939

4040
A GnuPG signed tag object will be created when `-s` or `-u
4141
<keyid>` is used. When `-u <keyid>` is not used, the

0 commit comments

Comments
 (0)