From: Robert P. J. Day Date: Fri, 25 May 2018 09:45:09 +0000 (-0400) Subject: tag: clarify in the doc that a tag can refer to a non-commit object X-Git-Tag: v2.18.0-rc1~12^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=590551ca2c7e24652e38efe20fc03693bbc0a66f;p=thirdparty%2Fgit.git 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 Signed-off-by: Junio C Hamano --- 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 ` or `-F ` is given and `-a`, `-s`, and `-u ` 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 ` is used. When `-u ` is not used, the