Skip to content

Commit 05c3e5c

Browse files
committed
Documentation/config.txt: avoid unnecessary negation
Section names and variable names are both case-insensitive, but one is described as "not case sensitive". Use "case-insensitive" for both. Instead of saying "... have to be escaped" without telling what that escaping achieves, state it in a more positive way, i.e. "... can be included by escaping". Signed-off-by: Junio C Hamano <[email protected]>
1 parent 3d8a54e commit 05c3e5c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Documentation/config.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ blank lines are ignored.
2525

2626
The file consists of sections and variables. A section begins with
2727
the name of the section in square brackets and continues until the next
28-
section begins. Section names are not case sensitive. Only alphanumeric
28+
section begins. Section names are case-insensitive. Only alphanumeric
2929
characters, `-` and `.` are allowed in section names. Each variable
3030
must belong to some section, which means that there must be a section
3131
header before the first setting of a variable.
@@ -40,8 +40,8 @@ in the section header, like in the example below:
4040
--------
4141

4242
Subsection names are case sensitive and can contain any characters except
43-
newline (doublequote `"` and backslash have to be escaped as `\"` and `\\`,
44-
respectively). Section headers cannot span multiple
43+
newline (doublequote `"` and backslash can be included by escaping them
44+
as `\"` and `\\`, respectively). Section headers cannot span multiple
4545
lines. Variables may belong directly to a section or to a given subsection.
4646
You can have `[section]` if you have `[section "subsection"]`, but you
4747
don't need to.

0 commit comments

Comments
 (0)