diff options
author | Jean-Noël Avila <jn.avila@free.fr> | 2022-01-05 21:02:16 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-01-05 22:29:23 +0100 |
commit | 12909b6b8a4a51e9d2b46610be4f93c782949c80 (patch) | |
tree | e0643769171bc1f80a17d52c7724b8fee3b21978 /t/t3704-add-pathspec-file.sh | |
parent | i18n: refactor "%s, %s and %s are mutually exclusive" (diff) | |
download | git-12909b6b8a4a51e9d2b46610be4f93c782949c80.tar.xz git-12909b6b8a4a51e9d2b46610be4f93c782949c80.zip |
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/t3704-add-pathspec-file.sh')
-rwxr-xr-x | t/t3704-add-pathspec-file.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/t/t3704-add-pathspec-file.sh b/t/t3704-add-pathspec-file.sh index 5d5164d1fc..7e17ae8022 100755 --- a/t/t3704-add-pathspec-file.sh +++ b/t/t3704-add-pathspec-file.sh @@ -138,13 +138,13 @@ test_expect_success 'error conditions' ' >empty_list && test_must_fail git add --pathspec-from-file=list --interactive 2>err && - test_i18ngrep -e "--pathspec-from-file is incompatible with --interactive/--patch" err && + test_i18ngrep -e "options .--pathspec-from-file. and .--interactive/--patch. cannot be used together" err && test_must_fail git add --pathspec-from-file=list --patch 2>err && - test_i18ngrep -e "--pathspec-from-file is incompatible with --interactive/--patch" err && + test_i18ngrep -e "options .--pathspec-from-file. and .--interactive/--patch. cannot be used together" err && test_must_fail git add --pathspec-from-file=list --edit 2>err && - test_i18ngrep -e "--pathspec-from-file is incompatible with --edit" err && + test_i18ngrep -e "options .--pathspec-from-file. and .--edit. cannot be used together" err && test_must_fail git add --pathspec-from-file=list -- fileA.t 2>err && test_i18ngrep -e "--pathspec-from-file is incompatible with pathspec arguments" err && |