aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-03-04 10:53:02 -0800
committerJunio C Hamano <gitster@pobox.com>2026-03-04 10:53:02 -0800
commita31d4f1860bf9ee594d3ee4dd0cdda90db6919cd (patch)
tree075112e892a6d1073d473949269d49c7ba435c24 /Documentation
parentca1a1a75c185fc01ad858268b4431e835933e2eb (diff)
parent096aa6099834ce00401a369b34cbff4868ea5704 (diff)
downloadgit-a31d4f1860bf9ee594d3ee4dd0cdda90db6919cd.tar.xz
Merge branch 'ds/config-list-with-type'
"git config list" is taught to show the values interpreted for specific type with "--type=<X>" option. * ds/config-list-with-type: config: use an enum for type config: restructure format_config() config: format colors quietly color: add color_parse_quietly() config: format expiry dates quietly config: format paths gently config: format bools or strings in helper config: format bools or ints gently config: format bools gently config: format int64s gently config: make 'git config list --type=<X>' work config: add 'gently' parameter to format_config() config: move show_all_config()
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/git-config.adoc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/git-config.adoc b/Documentation/git-config.adoc
index ac3b536a15..5300dd4c51 100644
--- a/Documentation/git-config.adoc
+++ b/Documentation/git-config.adoc
@@ -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::