diff options
author | Jean-Noël Avila <jn.avila@free.fr> | 2022-01-05 20:02:15 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-05 13:29:23 -0800 |
commit | c488182903d97da70b7a486e514ab871345067cc (patch) | |
tree | e5abfa80d7cd54e306792ee9f361276dcb3dfff8 /t/t4209-log-pickaxe.sh | |
parent | i18n: refactor "foo and bar are mutually exclusive" (diff) | |
download | tgif-c488182903d97da70b7a486e514ab871345067cc.tar.xz |
i18n: refactor "%s, %s and %s are mutually exclusive"
Use placeholders for constant tokens. The strings are turned into
"cannot be used together"
Signed-off-by: Jean-Noël Avila <jn.avila@free.fr>
Reviewed-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4209-log-pickaxe.sh')
-rwxr-xr-x | t/t4209-log-pickaxe.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t4209-log-pickaxe.sh b/t/t4209-log-pickaxe.sh index 75795d0b49..4f820f8597 100755 --- a/t/t4209-log-pickaxe.sh +++ b/t/t4209-log-pickaxe.sh @@ -63,13 +63,13 @@ test_expect_success 'usage' ' test_i18ngrep "switch.*requires a value" err && test_expect_code 128 git log -Gregex -Sstring 2>err && - grep "mutually exclusive" err && + grep "cannot be used together" err && test_expect_code 128 git log -Gregex --find-object=HEAD 2>err && - grep "mutually exclusive" err && + grep "cannot be used together" err && test_expect_code 128 git log -Sstring --find-object=HEAD 2>err && - grep "mutually exclusive" err && + grep "cannot be used together" err && test_expect_code 128 git log --pickaxe-all --find-object=HEAD 2>err && grep "mutually exclusive" err |