diff options
author | Jean-Noël Avila <jn.avila@free.fr> | 2022-01-05 20:02:16 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-05 13:29:23 -0800 |
commit | 12909b6b8a4a51e9d2b46610be4f93c782949c80 (patch) | |
tree | e0643769171bc1f80a17d52c7724b8fee3b21978 /t/t2072-restore-pathspec-file.sh | |
parent | i18n: refactor "%s, %s and %s are mutually exclusive" (diff) | |
download | tgif-12909b6b8a4a51e9d2b46610be4f93c782949c80.tar.xz |
i18n: turn "options are incompatible" 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/t2072-restore-pathspec-file.sh')
-rwxr-xr-x | t/t2072-restore-pathspec-file.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t2072-restore-pathspec-file.sh b/t/t2072-restore-pathspec-file.sh index b48345bf95..ad1fc0ed07 100755 --- a/t/t2072-restore-pathspec-file.sh +++ b/t/t2072-restore-pathspec-file.sh @@ -152,7 +152,7 @@ test_expect_success 'error conditions' ' >empty_list && test_must_fail git restore --pathspec-from-file=list --patch --source=HEAD^1 2>err && - test_i18ngrep -e "--pathspec-from-file is incompatible with --patch" err && + test_i18ngrep -e "options .--pathspec-from-file. and .--patch. cannot be used together" err && test_must_fail git restore --pathspec-from-file=list --source=HEAD^1 -- fileA.t 2>err && test_i18ngrep -e "--pathspec-from-file is incompatible with pathspec arguments" err && |