Skip to content

Commit 191453f

Browse files
jnarebJunio C Hamano
authored andcommitted
Documentation/config.txt: Correct info about subsection name
Contrary to variable values, in subsection names parsing character escape codes (besides literal escaping of " as \", and \ as \\) is not performed; subsection name cannot contain newlines. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent eda95d9 commit 191453f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/config.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ in the section header, like in example below:
3737

3838
--------
3939

40-
Subsection names can contain any characters (doublequote '`"`', backslash
41-
'`\`' and newline have to be entered escaped as '`\"`', '`\\`' and '`\n`',
40+
Subsection names can contain any characters except newline (doublequote
41+
'`"`' and backslash have to be escaped as '`\"`' and '`\\`',
4242
respecitvely) and are case sensitive. Section header cannot span multiple
4343
lines. Variables may belong directly to a section or to a given subsection.
4444
You can have `[section]` if you have `[section "subsection"]`, but you

0 commit comments

Comments
 (0)