Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-06-01 09:06:39 +0300
committerJunio C Hamano <gitster@pobox.com>2018-06-01 09:06:39 +0300
commitcbb408e6aef5b0d06facc16bb7a8615925894ad4 (patch)
tree75f8690de9df963b1cb2600094366b8700c26a62
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
-rw-r--r--Documentation/git-tag.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index 1d17101bac..87c4288ffc 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