path: root/Documentation
diff options
authorJunio C Hamano <>2018-06-01 06:06:39 (GMT)
committerJunio C Hamano <>2018-06-01 06:06:39 (GMT)
commitcbb408e6aef5b0d06facc16bb7a8615925894ad4 (patch)
tree75f8690de9df963b1cb2600094366b8700c26a62 /Documentation
parent7659bda0f3be83620ee8d8b7326be3dd2b53e2ae (diff)
parent590551ca2c7e24652e38efe20fc03693bbc0a66f (diff)
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
Diffstat (limited to 'Documentation')
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index 1d17101..87c4288 100644
--- a/Documentation/git-tag.txt
+++ b/Documentation/git-tag.txt
@@ -34,8 +34,8 @@ in the tag message.
If `-m <msg>` or `-F <file>` is given and `-a`, `-s`, and `-u <keyid>`
are absent, `-a` is implied.
-Otherwise just a tag reference for the SHA-1 object name of the commit object is
-created (i.e. a lightweight tag).
+Otherwise, a tag reference that points directly at the given object
+(i.e., a lightweight tag) is created.
A GnuPG signed tag object will be created when `-s` or `-u
<keyid>` is used. When `-u <keyid>` is not used, the