Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Documentation/config.txt: simplify boolean description in the syntax section
author
Junio C Hamano
<gitster@pobox.com>
Wed, 4 Mar 2015 19:08:34 +0000
(11:08 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 4 Mar 2015 19:42:34 +0000
(11:42 -0800)
The 'true' short-hand doesn't deserve a separate sentence; even our own
git config --bool foo.bar yes
would not produce it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config.txt
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
b92c1a2
)
diff --git
a/Documentation/config.txt
b/Documentation/config.txt
index c40bf4a7ff94e5dfd48870970df6785e595820e3..f1cf571fcd561d295e758a0d9fd3f550c22b313b 100644
(file)
--- a/
Documentation/config.txt
+++ b/
Documentation/config.txt
@@
-54,8
+54,8
@@
restrictions as section names.
All the other lines (and the remainder of the line after the section
header) are recognized as setting variables, in the form
All the other lines (and the remainder of the line after the section
header) are recognized as setting variables, in the form
-'name = value'
. If there is no equal sign on the line, the entire line
-
is taken as 'name' and the variable is recognized as boolean "true"
.
+'name = value'
(or just 'name', which is a short-hand to say that
+
the variable is the boolean "true")
.
The variable names are case-insensitive, allow only alphanumeric characters
and `-`, and must start with an alphabetic character.
The variable names are case-insensitive, allow only alphanumeric characters
and `-`, and must start with an alphabetic character.