aboutsummaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-02-03 15:21:57 -0800
committerJunio C Hamano <gitster@pobox.com>2025-02-03 15:21:57 -0800
commita0fc18f0427fa9e4bd04cae60bee346b6ae78663 (patch)
tree728888107a9f948d874fd3fef737208fde878c82 /Documentation
parentf93ff170b93a1782659637824b25923245ac9dd1 (diff)
parent4e3dd47c9d5f9dcae0a0d6c59c6676213914ac0e (diff)
downloadgit-a0fc18f0427fa9e4bd04cae60bee346b6ae78663.tar.xz
Merge branch 'sc/help-autocorrect-one' into da/help-autocorrect-one-fix
* sc/help-autocorrect-one: help: interpret boolean string values for help.autocorrect
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/config/help.txt9
1 files changed, 5 insertions, 4 deletions
diff --git a/Documentation/config/help.txt b/Documentation/config/help.txt
index 610701f9a3..a4c6079af8 100644
--- a/Documentation/config/help.txt
+++ b/Documentation/config/help.txt
@@ -11,13 +11,14 @@ help.autoCorrect::
If git detects typos and can identify exactly one valid command similar
to the error, git will try to suggest the correct command or even
run the suggestion automatically. Possible config values are:
- - 0 (default): show the suggested command.
- - positive number: run the suggested command after specified
+ - 0: show the suggested command (default).
+ - 1, "true", "on", "yes", "immediate": run the suggested command
+immediately.
+ - positive number > 1: run the suggested command after specified
deciseconds (0.1 sec).
- - "immediate": run the suggested command immediately.
+ - "false", "off", "no", "never": don't run or show any suggested command.
- "prompt": show the suggestion and prompt for confirmation to run
the command.
- - "never": don't run or show any suggested command.
help.htmlPath::
Specify the path where the HTML documentation resides. File system paths