Merge branch 'ab/submodule-relative-url-tests'
[gitweb.git] / builtin / merge-tree.c
index 8a8d579752050487269bcc63aac4713c0b8ebc1e..f8023bae1e2eceaa8ea086f5d990d8bc4c0e6121 100644 (file)
@@ -2,6 +2,7 @@
 #include "tree-walk.h"
 #include "xdiff-interface.h"
 #include "object-store.h"
+#include "repository.h"
 #include "blob.h"
 #include "exec-cmd.h"
 #include "merge-blobs.h"
@@ -170,7 +171,7 @@ static struct merge_list *create_entry(unsigned stage, unsigned mode, const stru
        res->stage = stage;
        res->path = path;
        res->mode = mode;
-       res->blob = lookup_blob(oid);
+       res->blob = lookup_blob(the_repository, oid);
        return res;
 }