object: add repository argument to parse_object_buffer
[gitweb.git] / builtin / fast-export.c
index e39c4e2c1d00e4090965d01305e952539395f1ea..03a2e4b79e6a4937d2679a9fe79c5a307605783e 100644 (file)
@@ -244,7 +244,8 @@ static void export_blob(const struct object_id *oid)
                        die ("Could not read blob %s", oid_to_hex(oid));
                if (check_object_signature(oid, buf, size, type_name(type)) < 0)
                        die("sha1 mismatch in blob %s", oid_to_hex(oid));
-               object = parse_object_buffer(oid, type, size, buf, &eaten);
+               object = parse_object_buffer(the_repository, oid, type,
+                                            size, buf, &eaten);
        }
 
        if (!object)