]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/merge-tree.c
Merge branch 'vd/fsck-submodule-url-test'
[thirdparty/git.git] / builtin / merge-tree.c
index a35e0452d6672594da29623e8934256f37784549..3bdec53fbe58bb5edef6e4d425829a58ce87bffe 100644 (file)
@@ -13,7 +13,6 @@
 #include "parse-options.h"
 #include "repository.h"
 #include "blob.h"
-#include "exec-cmd.h"
 #include "merge-blobs.h"
 #include "quote.h"
 #include "tree.h"
@@ -577,7 +576,8 @@ int cmd_merge_tree(int argc, const char **argv, const char *prefix)
                if (o.mode == MODE_TRIVIAL)
                        die(_("--trivial-merge is incompatible with all other options"));
                if (merge_base)
-                       die(_("--merge-base is incompatible with --stdin"));
+                       die(_("options '%s' and '%s' cannot be used together"),
+                           "--merge-base", "--stdin");
                line_termination = '\0';
                while (strbuf_getline_lf(&buf, stdin) != EOF) {
                        struct strbuf **split;