From: Michael J Gruber Date: Wed, 13 May 2009 15:43:06 +0000 (+0200) Subject: Documentation: clarify / requirement in 'git check-ref-format' X-Git-Tag: v1.6.4-rc0~169 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1a2872595409fbdd5d448730953884ef8d8c6613;p=git.git Documentation: clarify / requirement in 'git check-ref-format' 'git check-ref-format' checks for the presence of at least one '/', the idea being that there should be no refs directly below 'refs/', so there should be a category like 'heads/' or 'tags/' in a refname. Try and make this clearer in the man page. Signed-off-by: Michael J Gruber Signed-off-by: Junio C Hamano --- diff --git a/Documentation/git-check-ref-format.txt b/Documentation/git-check-ref-format.txt index c1ce26884..0873e60f7 100644 --- a/Documentation/git-check-ref-format.txt +++ b/Documentation/git-check-ref-format.txt @@ -25,6 +25,10 @@ imposes the following rules on how references are named: grouping, but no slash-separated component can begin with a dot `.`. +. They must contain at least one `/`. This enforces the presence of a + category like `heads/`, `tags/` etc. but the actual names are not + restricted. + . They cannot have two consecutive dots `..` anywhere. . They cannot have ASCII control characters (i.e. bytes whose