summaryrefslogtreecommitdiffstats
path: root/git-check-ref-format.txt
diff options
context:
space:
mode:
authorJunio C Hamano <junio@hera.kernel.org>2009-05-13 20:50:32 +0000
committerJunio C Hamano <junio@hera.kernel.org>2009-05-13 20:50:32 +0000
commit8679a79435b18cae8f250ecca308967f0775cd79 (patch)
treede0489d4df68657cbeeb59ff91bcd695f4ca8b35 /git-check-ref-format.txt
parent07bfd671bc99ce24967a73ddd546b8102fc3fa31 (diff)
downloadgit-htmldocs-8679a79435b18cae8f250ecca308967f0775cd79.tar.gz
Autogenerated HTML docs for v1.6.3.1-9-g95405b
Diffstat (limited to 'git-check-ref-format.txt')
-rw-r--r--git-check-ref-format.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/git-check-ref-format.txt b/git-check-ref-format.txt
index c1ce26884..0873e60f7 100644
--- a/git-check-ref-format.txt
+++ b/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