object-store: move object access functions to object-store.h
[gitweb.git] / builtin / fast-export.c
index a15898d64177b380ea021e3bc63fb91446bc02b3..f593e57b9d4cdd69efd2c68b5c5eec0ba19bfdb3 100644 (file)
@@ -7,6 +7,7 @@
 #include "cache.h"
 #include "config.h"
 #include "refs.h"
+#include "object-store.h"
 #include "commit.h"
 #include "object.h"
 #include "tag.h"
@@ -947,7 +948,7 @@ static void import_marks(char *input_file)
                if (last_idnum < mark)
                        last_idnum = mark;
 
-               type = oid_object_info(&oid, NULL);
+               type = oid_object_info(the_repository, &oid, NULL);
                if (type < 0)
                        die("object not found: %s", oid_to_hex(&oid));