aboutsummaryrefslogtreecommitdiff
path: root/Documentation/git-config.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/git-config.adoc')
-rw-r--r--Documentation/git-config.adoc7
1 files changed, 5 insertions, 2 deletions
diff --git a/Documentation/git-config.adoc b/Documentation/git-config.adoc
index cc054fa7e1..00545b2054 100644
--- a/Documentation/git-config.adoc
+++ b/Documentation/git-config.adoc
@@ -221,7 +221,7 @@ Use `--no-value` to unset _<pattern>_.
+
Valid `<type>`'s include:
+
-- 'bool': canonicalize values `true`, `yes`,`on`, and positive
+- '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
@@ -240,6 +240,9 @@ Valid `<type>`'s include:
that the given value is canonicalize-able as an ANSI color, but it is written
as-is.
+
+If the command is in `list` mode, then the `--type <type>` argument will apply
+to each listed config value. If the value does not successfully parse in that
+format, then it will be omitted from the list.
--bool::
--int::
@@ -332,7 +335,7 @@ recommended to migrate to the new syntax.
Replaced by `git config get --all --show-names --regexp <name-regexp>`.
--get-urlmatch <name> <URL>::
- Replaced by `git config get --all --show-names --url=<URL> <name>`.
+ Replaced by `git config get --url=<URL> <name>`.
--get-color <name> [<default>]::
Replaced by `git config get --type=color [--default=<default>] <name>`.