commit bd9dcaa826fe9d9a4628005721d871ac249536d4
from: Stefan Sperling
The name is a UTF-8 string with the following disallowed +
The name is a non-empty UTF-8 string with the following disallowed characters: ‘ ’ (space), ~ (tilde), ^ (caret), : (colon), ? (question mark), * (asterisk), [ (opening square bracket), \ - (backslash). Additionally, the name may not contain the two-character - sequences //, .. , and @{.
+ (backslash). The name may not be the string “@”, 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 @{.Reference names may optionally have multiple components separated by the / (slash) character, forming a hierarchy of reference namespaces. Got reserves the refs/got/ reference namespace for @@ -215,7 +216,7 @@