summaryrefslogtreecommitdiff
path: root/builtin/update-server-info.c
diff options
context:
space:
mode:
authorLibravatar Marc Branchaud <marcnarc@xiplink.com>2017-06-21 09:57:38 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-06-21 13:53:37 -0700
commit968b1fe263f9dfec65be4598e4f0dd76f1692551 (patch)
tree0081d1940814cc91c2ae6df7863d3ecae517bb72 /builtin/update-server-info.c
parentGit 2.10.3 (diff)
downloadtgif-968b1fe263f9dfec65be4598e4f0dd76f1692551.tar.xz
auto-correct: tweak phrasing
When help.autoCorrect is enabled, an invalid git command prints a warning and a continuation message, which differs depending on whether or not the value of help.autoCorrect is positive or negative. With help.autoCorrect = 15: WARNING: You called a Git command named 'lgo', which does not exist. Continuing under the assumption that you meant 'log' in 1.5 seconds automatically... With help.autoCorrect < 0: WARNING: You called a Git command named 'lgo', which does not exist. Continuing under the assumption that you meant 'log' The continuation message's phrasing is awkward. This commit cleans it up. As a bonus, we now use full-sentence strings which make translation easier. With help.autoCorrect = 15: WARNING: You called a Git command named 'lgo', which does not exist. Continuing in 1.5 seconds, assuming that you meant 'log'. With help.autoCorrect < 0: WARNING: You called a Git command named 'lgo', which does not exist. Continuing under the assumption that you meant 'log'. Signed-off-by: Marc Branchaud <marcnarc@xiplink.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/update-server-info.c')
0 files changed, 0 insertions, 0 deletions