]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/fast-export.c
Merge branch 'mt/use-passed-repo-more-in-funcs'
[thirdparty/git.git] / builtin / fast-export.c
index 164406fdd4b64e59629a3a7eae0f43a0901bb321..85868162eec9b0080ab30e7b1b8de1560c5ce5f2 100644 (file)
@@ -293,7 +293,8 @@ static void export_blob(const struct object_id *oid)
                buf = read_object_file(oid, &type, &size);
                if (!buf)
                        die("could not read blob %s", oid_to_hex(oid));
-               if (check_object_signature(oid, buf, size, type_name(type)) < 0)
+               if (check_object_signature(the_repository, oid, buf, size,
+                                          type_name(type)) < 0)
                        die("oid mismatch in blob %s", oid_to_hex(oid));
                object = parse_object_buffer(the_repository, oid, type,
                                             size, buf, &eaten);