packfile: add repository argument to cache_or_unpack_entry
[gitweb.git] / builtin / fast-export.c
index a15898d64177b380ea021e3bc63fb91446bc02b3..373c794873efd8f771afc7a750aabf067d83411c 100644 (file)
@@ -947,7 +947,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));