Commit Diff


commit - 59d7decb8c1564998e913d8ea3ddb85dc7a254c6
commit + 514c147c9a89ee6e6986d8641897e5718b3e75a2
blob - 6ac425f1cbd5cb398c604daf96ca5d996cfb01cf
blob + 21ee1fc8083f73d551360ee010858019f021236c
--- got/git-repository.5
+++ got/git-repository.5
@@ -113,7 +113,7 @@ tip commit of a branch.
 Because references may point to arbitrary object IDs, their use
 is not limited to branches.
 .Pp
-The name is a UTF-8 string with the following disallowed characters:
+The name is a non-empty UTF-8 string with the following disallowed characters:
 .Sq \ \&
 (space),
 \(a~ (tilde),
@@ -123,6 +123,10 @@ The name is a UTF-8 string with the following disallow
 * (asterisk),
 [ (opening square bracket),
 \\ (backslash).
+The name may not be the string
+.Dq @ ,
+may not begin with a / (slash), and may not begin or end
+with a \. (period).
 Additionally, the name may not contain the two-character sequences
 //, .. , and @{.
 .Pp