@@ -12,8 +12,9 @@ The configuration variables are used by both the git plumbing
1212and the porcelains. The variables are divided into sections, wherein
1313the fully qualified variable name of the variable itself is the last
1414dot-separated segment and the section name is everything before the last
15- dot. The variable names are case-insensitive and only alphanumeric
16- characters are allowed. Some variables may appear multiple times.
15+ dot. The variable names are case-insensitive, allow only alphanumeric
16+ characters and `-`, and must start with an alphabetic character. Some
17+ variables may appear multiple times.
1718
1819Syntax
1920~~~~~~
@@ -54,9 +55,10 @@ All the other lines (and the remainder of the line after the section
5455header) are recognized as setting variables, in the form
5556'name = value'. If there is no equal sign on the line, the entire line
5657is taken as 'name' and the variable is recognized as boolean "true".
57- The variable names are case-insensitive and only alphanumeric
58- characters and `-` are allowed. There can be more than one value
59- for a given variable; we say then that variable is multivalued.
58+ The variable names are case-insensitive, allow only alphanumeric characters
59+ and `-`, and must start with an alphabetic character. There can be more
60+ than one value for a given variable; we say then that the variable is
61+ multivalued.
6062
6163Leading and trailing whitespace in a variable value is discarded.
6264Internal whitespace within a variable value is retained verbatim.
0 commit comments