diff options
author | Marc Branchaud <marcnarc@xiplink.com> | 2017-06-21 09:57:38 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-06-21 13:53:37 -0700 |
commit | 968b1fe263f9dfec65be4598e4f0dd76f1692551 (patch) | |
tree | 0081d1940814cc91c2ae6df7863d3ecae517bb72 /t/t2008-checkout-subdir.sh | |
parent | Git 2.10.3 (diff) | |
download | tgif-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 't/t2008-checkout-subdir.sh')
0 files changed, 0 insertions, 0 deletions