config.txt: clarify sentences in the configuration and syntax sections
Signed-off-by: Stephen Boyd <bebarino@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
773002a78c
commit
b7ee2266fe
@ -8,9 +8,9 @@ is used to store the information for that repository, and
|
|||||||
fallback values for the `.git/config` file. The file `/etc/gitconfig`
|
fallback values for the `.git/config` file. The file `/etc/gitconfig`
|
||||||
can be used to store system-wide defaults.
|
can be used to store system-wide defaults.
|
||||||
|
|
||||||
They can be used by both the git plumbing
|
The configuration variables are used by both the git plumbing
|
||||||
and the porcelains. The variables are divided into sections, where
|
and the porcelains. The variables are divided into sections, wherein
|
||||||
in the fully qualified variable name the variable itself is the last
|
the fully qualified variable name of the variable itself is the last
|
||||||
dot-separated segment and the section name is everything before the last
|
dot-separated segment and the section name is everything before the last
|
||||||
dot. The variable names are case-insensitive and only alphanumeric
|
dot. The variable names are case-insensitive and only alphanumeric
|
||||||
characters are allowed. Some variables may appear multiple times.
|
characters are allowed. Some variables may appear multiple times.
|
||||||
@ -38,9 +38,9 @@ in the section header, like in the example below:
|
|||||||
|
|
||||||
--------
|
--------
|
||||||
|
|
||||||
Subsection names can contain any character except newline (doublequote
|
Subsection names are case sensitive and can contain any characters except
|
||||||
`"` and backslash have to be escaped as `\"` and `\\`,
|
newline (doublequote `"` and backslash have to be escaped as `\"` and `\\`,
|
||||||
respectively) and are case sensitive. Section headers cannot span multiple
|
respectively). Section headers cannot span multiple
|
||||||
lines. Variables may belong directly to a section or to a given subsection.
|
lines. Variables may belong directly to a section or to a given subsection.
|
||||||
You can have `[section]` if you have `[section "subsection"]`, but you
|
You can have `[section]` if you have `[section "subsection"]`, but you
|
||||||
don't need to.
|
don't need to.
|
||||||
|
Loading…
Reference in New Issue
Block a user