summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2018-05-25 09:45:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-05-29 02:55:34 (GMT)
commit590551ca2c7e24652e38efe20fc03693bbc0a66f (patch)
treeed7fc00f809e2095b690392ded0ebbd474983f2c /Documentation
parent468165c1d8a442994a825f3684528361727cd8c0 (diff)
downloadgit-590551ca2c7e24652e38efe20fc03693bbc0a66f.zip
git-590551ca2c7e24652e38efe20fc03693bbc0a66f.tar.gz
git-590551ca2c7e24652e38efe20fc03693bbc0a66f.tar.bz2
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>
Diffstat (limited to 'Documentation')
-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 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