Skip to content

Commit 18b19e4

Browse files
carlosmngitster
authored andcommitted
Documentation/config.txt: make truth value of numbers more explicit
Change the order to 1/0 to have the same true/false order as the rest of the possibilities for a boolean variable in order not not confuse users. Signed-off-by: Carlos Martín Nieto <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2f8ee02 commit 18b19e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/config.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Internal whitespace within a variable value is retained verbatim.
6262

6363
The values following the equals sign in variable assign are all either
6464
a string, an integer, or a boolean. Boolean values may be given as yes/no,
65-
0/1, true/false or on/off. Case is not significant in boolean values, when
65+
1/0, true/false or on/off. Case is not significant in boolean values, when
6666
converting value to the canonical form using '--bool' type specifier;
6767
'git config' will ensure that the output is "true" or "false".
6868

0 commit comments

Comments
 (0)