]> git.ipfire.org Git - thirdparty/git.git/blobdiff - revision.c
i18n: factorize even more 'incompatible options' messages
[thirdparty/git.git] / revision.c
index 00d5c29bfce18a1d4a5f5d701a593596ccd65783..b2861474b145e2e7e85de4c06833b7103280d08d 100644 (file)
@@ -2384,8 +2384,8 @@ static int handle_revision_opt(struct rev_info *revs, int argc, const char **arg
                revs->left_right = 1;
        } else if (!strcmp(arg, "--left-only")) {
                if (revs->right_only)
-                       die("--left-only is incompatible with --right-only"
-                           " or --cherry");
+                       die(_("options '%s' and '%s' cannot be used together"),
+                           "--left-only", "--right-only/--cherry");
                revs->left_only = 1;
        } else if (!strcmp(arg, "--right-only")) {
                if (revs->left_only)