aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-config.adoc
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-02-21 10:35:53 -0800
committerJunio C Hamano <gitster@pobox.com>2025-02-21 10:35:53 -0800
commit0fbe93b36c05bbf4156c157f27998938ce312265 (patch)
tree39f285e9ebbf1aafa2025d072de7ee0833d3dea2 /Documentation/git-config.adoc
parent55b5ba87f1ce7ef5c9f891392a7271bfc4d62d2b (diff)
parent832f56f06a5910b2f41a2e0dd8b382b6c709de07 (diff)
downloadgit-0fbe93b36c05bbf4156c157f27998938ce312265.tar.xz
Merge branch 'jc/doc-boolean-synonyms'
Doc updates. * jc/doc-boolean-synonyms: doc: centrally document various ways tospell `true` and `false`
Diffstat (limited to 'Documentation/git-config.adoc')
-rw-r--r--Documentation/git-config.adoc4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/git-config.adoc b/Documentation/git-config.adoc
index 888f8ba54b..936e0c5130 100644
--- a/Documentation/git-config.adoc
+++ b/Documentation/git-config.adoc
@@ -213,7 +213,9 @@ See also <<FILES>>.
+
Valid `<type>`'s include:
+
-- 'bool': canonicalize values as either "true" or "false".
+- 'bool': canonicalize values `true`, `yes`,`on`, and positive
+ numbers as "true", and values `false`, `no`, `off` and `0` as
+ "false".
- 'int': canonicalize values as simple decimal numbers. An optional suffix of
'k', 'm', or 'g' will cause the value to be multiplied by 1024, 1048576, or
1073741824 upon input.