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 <rpjday@crashcourse.ca> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Robert P. J. Day committed
May 25, 2018 at 05:45 UTC
590551ca2c7e24652e38efe20fc03693bbc0a66f
1 file changed
+2
-2
Documentation/git-tag.txt
+2
-2
@@ -34,8 +34,8 @@ in the tag message.
34
If `-m <msg>` or `-F <file>` is given and `-a`, `-s`, and `-u <keyid>`
35
are absent, `-a` is implied.
36
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.
39
40
A GnuPG signed tag object will be created when `-s` or `-u
41
<keyid>` is used. When `-u <keyid>` is not used, the