Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
config.txt: clarify sentences in the configuration and syntax sections
author
Stephen Boyd
<bebarino@gmail.com>
Thu, 23 Apr 2009 09:38:01 +0000
(
02:38
-0700)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 23 Apr 2009 19:53:31 +0000
(12:53 -0700)
Signed-off-by: Stephen Boyd <bebarino@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
773002a
)
diff --git
a/Documentation/config.txt
b/Documentation/config.txt
index 5bff4005fc15bdafdc11634b0f9ba826c3dc40a7..01b752cd3eb5500a131be409788d9d254427ca88 100644
(file)
--- a/
Documentation/config.txt
+++ b/
Documentation/config.txt
@@
-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`
can be used to store system-wide defaults.
fallback values for the `.git/config` file. The file `/etc/gitconfig`
can be used to store system-wide defaults.
-The
y can b
e used by both the git plumbing
-and the porcelains. The variables are divided into sections, where
-
in the fully qualified variable name
the variable itself is the last
+The
configuration variables ar
e used by both the git plumbing
+and the porcelains. The variables are divided into sections, where
in
+
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. The variable names are case-insensitive and only alphanumeric
characters are allowed. Some variables may appear multiple times.
dot-separated segment and the section name is everything before the last
dot. The variable names are case-insensitive and only alphanumeric
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
-`"` and backslash have to be escaped as `\"` and `\\`,
-respectively)
and are case sensitive
. Section headers cannot span multiple
+Subsection names
are case sensitive and can contain any characters except
+
newline (doublequote
`"` and backslash have to be escaped as `\"` and `\\`,
+respectively). Section headers cannot span multiple
lines. Variables may belong directly to a section or to a given subsection.
You can have `[section]` if you have `[section "subsection"]`, but you
don't need to.
lines. Variables may belong directly to a section or to a given subsection.
You can have `[section]` if you have `[section "subsection"]`, but you
don't need to.