]> git.ipfire.org Git - thirdparty/git.git/commit
help: move tty check for autocorrection to autocorrect.c
authorJiamu Sun <39@barroit.sh>
Thu, 23 Apr 2026 01:37:53 +0000 (10:37 +0900)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Apr 2026 02:02:14 +0000 (11:02 +0900)
commita4e62f995bb4f4a221c47898120b9152b842fa91
treedc85e1e3d41d966ce89b29499ebf55766538d76a
parent78a6303552adc8179f08839e209a81155af19d90
help: move tty check for autocorrection to autocorrect.c

TTY checking is the autocorrect config parser's responsibility. It must
ensure the parsed value is correct and reliable. Thus, move the check to
autocorrect_resolve_config().

Signed-off-by: Jiamu Sun <39@barroit.sh>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
autocorrect.c
help.c