From: Jari Aalto Date: Wed, 5 Aug 2009 21:20:32 +0000 (+0300) Subject: git-tag(1): Refer to git-check-ref-format(1) for X-Git-Tag: v1.6.5-rc0~103 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=18b0793;p=git.git git-tag(1): Refer to git-check-ref-format(1) for Explain briefly what characters are prohibited in tag and point to git-check-ref-format(1) manual page for further information. Signed-off-by: Jari Aalto Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt index fa733214a..1118ce22d 100644 --- a/Documentation/git-tag.txt +++ b/Documentation/git-tag.txt @@ -17,7 +17,10 @@ SYNOPSIS DESCRIPTION ----------- -Adds a 'tag' reference in `.git/refs/tags/` + +Adds a 'tag' reference in `.git/refs/tags/`. The tag must pass +linkgit:git-check-ref-format[1] which basicly means that control characters, +space, ~, ^, :, ?, *, [ and \ are prohibited. Unless `-f` is given, the tag must not yet exist in `.git/refs/tags/` directory.