sha1_file: convert check_sha1_signature to struct object_id
[gitweb.git] / builtin / fsck.c
index ef78c6c00cbf4401ed672d6ad954bbbc68c9c115..eae018e3fb06c1a9c1bd472fc077869aafbc5693 100644 (file)
@@ -513,7 +513,7 @@ static struct object *parse_loose_object(const struct object_id *oid,
        unsigned long size;
        int eaten;
 
-       if (read_loose_object(path, oid->hash, &type, &size, &contents) < 0)
+       if (read_loose_object(path, oid, &type, &size, &contents) < 0)
                return NULL;
 
        if (!contents && type != OBJ_BLOB)