git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jari Aalto <jari.aalto@cante.net>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: [PATCH] git-tag(1): Refer to git-check-ref-format(1) for <name>
Date: Thu, 06 Aug 2009 00:20:32 +0300	[thread overview]
Message-ID: <8763d2klen.fsf@jondo.cante.net> (raw)
In-Reply-To: <7veirs6qxn.fsf@alter.siamese.dyndns.org> (Junio C. Hamano's message of "Mon, 03 Aug 2009 23:20:20 -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>
---
 Documentation/git-tag.txt |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Documentation/git-tag.txt b/Documentation/git-tag.txt
index fa73321..1118ce2 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 <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.
-- 
1.6.3.3

  reply	other threads:[~2009-08-05 21:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-03 18:20 [PATCH] git-tag(1): Refer to git-check-ref-format(1) for <name> Jari Aalto
2009-08-04  6:20 ` Junio C Hamano
2009-08-05 21:20   ` Jari Aalto [this message]
2009-08-22  0:45   ` Nanako Shiraishi
2009-08-25  8:21     ` Nanako Shiraishi
2009-08-25 20:37       ` Junio C Hamano

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8763d2klen.fsf@jondo.cante.net \
    --to=jari.aalto@cante.net \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).