@matheusbsbs / matheus-bagliano / commits / 18b0793036
Fork 0

git-tag(1): Refer to git-check-ref-format(1) for <name>

Explain briefly what characters are prohibited in tag <name> and point to git-check-ref-format(1) manual page for further information. Signed-off-by: Jari Aalto <jari.aalto@cante.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jari Aalto committed Aug 6, 2009 at 00:20 UTC 18b07930363d54778e616f1b86de8ccd5ebe88fc
1 file changed +4 -1
Documentation/git-tag.txt
+4 -1
@@ -17,7 +17,10 @@ SYNOPSIS
17
18 DESCRIPTION
19 -----------
20 -Adds a 'tag' reference in `.git/refs/tags/`
20 +
21 +Adds a 'tag' reference in `.git/refs/tags/`. The tag <name> must pass
22 +linkgit:git-check-ref-format[1] which basicly means that control characters,
23 +space, ~, ^, :, ?, *, [ and \ are prohibited.
24
25 Unless `-f` is given, the tag must not yet exist in
26 `.git/refs/tags/` directory.