aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/config
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-03-28 14:13:50 -0700
committerJunio C Hamano <gitster@pobox.com>2024-03-28 14:13:50 -0700
commitbf0a35206910c67e840b5c5272cfe03a266b4eba (patch)
treed3c2bd83627f9fc876c2ea384721618fe589899c /Documentation/config
parent396430b5a73f60acc2ce8365a9edfe6923014ca3 (diff)
parentf66e1a071bd66e64160d9e73428d6cd7bdcff84e (diff)
downloadgit-bf0a35206910c67e840b5c5272cfe03a266b4eba.tar.gz
Merge branch 'jc/show-untracked-false'
The status.showUntrackedFiles configuration variable had a name that tempts users to set a Boolean value expressed in our usual "false", "off", and "0", but it only took "no". This has been corrected so "true" and its synonyms are taken as "normal", while "false" and its synonyms are taken as "no". * jc/show-untracked-false: status: allow --untracked=false and friends status: unify parsing of --untracked= and status.showUntrackedFiles
Diffstat (limited to 'Documentation/config')
-rw-r--r--Documentation/config/status.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/config/status.txt b/Documentation/config/status.txt
index 2ff8237f8f..8caf90f51c 100644
--- a/Documentation/config/status.txt
+++ b/Documentation/config/status.txt
@@ -57,6 +57,8 @@ status.showUntrackedFiles::
--
+
If this variable is not specified, it defaults to 'normal'.
+All usual spellings for Boolean value `true` are taken as `normal`
+and `false` as `no`.
This variable can be overridden with the -u|--untracked-files option
of linkgit:git-status[1] and linkgit:git-commit[1].