summaryrefslogtreecommitdiff
path: root/apply.c
diff options
context:
space:
mode:
authorJean-Noël Avila <jn.avila@free.fr>2022-01-05 20:02:16 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-01-05 21:29:23 (GMT)
commit12909b6b8a4a51e9d2b46610be4f93c782949c80 (patch)
treee0643769171bc1f80a17d52c7724b8fee3b21978 /apply.c
parentc488182903d97da70b7a486e514ab871345067cc (diff)
downloadgit-12909b6b8a4a51e9d2b46610be4f93c782949c80.zip
git-12909b6b8a4a51e9d2b46610be4f93c782949c80.tar.gz
git-12909b6b8a4a51e9d2b46610be4f93c782949c80.tar.bz2
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 'apply.c')
-rw-r--r--apply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apply.c b/apply.c
index fed1952..cabcdbe 100644
--- a/apply.c
+++ b/apply.c
@@ -133,7 +133,7 @@ int check_apply_state(struct apply_state *state, int force_apply)
int is_not_gitdir = !startup_info->have_repository;
if (state->apply_with_reject && state->threeway)
- return error(_("--reject and --3way cannot be used together."));
+ return error(_("options '%s' and '%s' cannot be used together"), "--reject", "--3way");
if (state->threeway) {
if (is_not_gitdir)
return error(_("--3way outside a repository"));