summaryrefslogtreecommitdiff
path: root/git-gui/lib/database.tcl
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2020-11-25 13:01:45 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-11-25 13:02:15 -0800
commit644bb953ce3251f2868ece6b767949828fa32e44 (patch)
tree94c5c7e5b5ed2f7c1a49dec418da026f10ff8987 /git-gui/lib/database.tcl
parentFifth batch (diff)
downloadtgif-644bb953ce3251f2868ece6b767949828fa32e44.tar.xz
help.c: help.autocorrect=never means "do not compute suggestions"
While help.autocorrect can be set to 0 to decline auto-execution of possibly mistyped commands, it still spends cycles to compute the suggestions, and it wastes screen real estate. Update help.autocorrect to accept the string "never" to just exit with error upon mistyped commands to help users who prefer to never see suggested corrections at all. While at it, introduce "immediate" as a more readable way to immediately execute the auto-corrected command, which can be done with negative value. Signed-off-by: Drew DeVault <sir@cmpwn.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/database.tcl')
0 files changed, 0 insertions, 0 deletions