]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/merge-tree.c
Merge branch 'kk/maint-prefix-in-config-mak'
[thirdparty/git.git] / builtin / merge-tree.c
index 9b25ddc9794efe489ee9ec9fd3203ffa997f03f7..897a563bc6662e108c29656d633b7400384154f9 100644 (file)
@@ -1,8 +1,9 @@
-#include "cache.h"
+#include "builtin.h"
 #include "tree-walk.h"
 #include "xdiff-interface.h"
 #include "blob.h"
 #include "exec_cmd.h"
+#include "merge-file.h"
 
 static const char merge_tree_usage[] = "git merge-tree <base-tree> <branch1> <branch2>";
 static int resolve_directories = 1;
@@ -54,8 +55,6 @@ static const char *explanation(struct merge_list *entry)
        return "removed in remote";
 }
 
-extern void *merge_file(const char *, struct blob *, struct blob *, struct blob *, unsigned long *);
-
 static void *result(struct merge_list *entry, unsigned long *size)
 {
        enum object_type type;