]> git.ipfire.org Git - thirdparty/git.git/commit - help.c
help: make auto-correction prompt more consistent
authorKashav Madan <kshvmdn@gmail.com>
Wed, 15 Dec 2021 22:58:58 +0000 (22:58 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Dec 2021 21:49:39 +0000 (13:49 -0800)
commit0fc8ed154cd9f110e8234cd54aa9324182978d26
tree2207db6cfde099bddd838f35fe7d1bca184111c9
parente9d7761bb94f20acc98824275e317fa82436c25d
help: make auto-correction prompt more consistent

There are three callsites of git_prompt() helper function that ask a
"yes/no" question to the end user, but one of them in help.c that
asks if the suggested auto-correction is OK, which is given when the
user makes a possible typo in a Git subcommand name, is formatted
differently from the others.

Update the format string to make the prompt string look more
consistent.

Signed-off-by: Kashav Madan <kshvmdn@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
help.c