File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -216,15 +216,15 @@ boolean::
216
216
synonyms are accepted for 'true' and 'false'; these are all
217
217
case-insensitive.
218
218
219
- true;; Boolean true can be spelled as `yes`, `on`, `true`,
220
- or `1`. Also, a variable defined without `= <value>`
219
+ true;; Boolean true literals are `yes`, `on`, `true`,
220
+ and `1`. Also, a variable defined without `= <value>`
221
221
is taken as true.
222
222
223
- false;; Boolean false can be spelled as `no`, `off`,
224
- `false`, or `0` .
223
+ false;; Boolean false literals are `no`, `off`, `false `,
224
+ `0` and the empty string .
225
225
+
226
226
When converting value to the canonical form using `--bool` type
227
- specifier; 'git config' will ensure that the output is "true" or
227
+ specifier, 'git config' will ensure that the output is "true" or
228
228
"false" (spelled in lowercase).
229
229
230
230
integer::
Original file line number Diff line number Diff line change @@ -75,7 +75,8 @@ example the following invocations are equivalent:
75
75
Note that omitting the `=` in `git -c foo.bar ...` is allowed and sets
76
76
`foo.bar` to the boolean true value (just like `[foo]bar` would in a
77
77
config file). Including the equals but with an empty value (like `git -c
78
- foo.bar= ...`) sets `foo.bar` to the empty string.
78
+ foo.bar= ...`) sets `foo.bar` to the empty string which ` git config
79
+ --bool` will convert to `false`.
79
80
80
81
--exec-path[=<path>]::
81
82
Path to wherever your core Git programs are installed.
You can’t perform that action at this time.
0 commit comments