Skip to content

Commit 590551c

Browse files
robertpjdaygitster
authored andcommitted
tag: clarify in the doc that a tag can refer to a non-commit object
Reword "man git-tag" to clarify that a tag can refer directly to an arbitrary object, not just a commit object. Signed-off-by: Robert P. J. Day <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 468165c commit 590551c

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)