Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
git-tag(1): Refer to git-check-ref-format(1) for <name>
author
Jari Aalto
<jari.aalto@cante.net>
Wed, 5 Aug 2009 21:20:32 +0000
(
00:20
+0300)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 6 Aug 2009 20:33:57 +0000
(13:33 -0700)
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>
Documentation/git-tag.txt
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
1a3d834
)
diff --git
a/Documentation/git-tag.txt
b/Documentation/git-tag.txt
index fa733214ab0259dec1c866e9cb629dd0e7b69f3a..1118ce22dcfcbaf190bd7abc60c2b33c213acd06 100644
(file)
--- 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 <name> 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.