@@ -12,8 +12,9 @@ The configuration variables are used by both the git plumbing
12
12
and the porcelains. The variables are divided into sections, wherein
13
13
the fully qualified variable name of the variable itself is the last
14
14
dot-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.
17
18
18
19
Syntax
19
20
~~~~~~
@@ -54,9 +55,10 @@ All the other lines (and the remainder of the line after the section
54
55
header) are recognized as setting variables, in the form
55
56
'name = value'. If there is no equal sign on the line, the entire line
56
57
is 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.
60
62
61
63
Leading and trailing whitespace in a variable value is discarded.
62
64
Internal whitespace within a variable value is retained verbatim.
0 commit comments