streaming: convert open_istream to use struct object_id
[gitweb.git] / archive-zip.c
index 5841a6ceb61f7ff43e8a3d1e04475785c7a42239..18b951b732ef4921b2913e8d614a5c00225e8d2c 100644 (file)
@@ -337,7 +337,7 @@ static int write_zip_entry(struct archiver_args *args,
 
                if (S_ISREG(mode) && type == OBJ_BLOB && !args->convert &&
                    size > big_file_threshold) {
-                       stream = open_istream(oid->hash, &type, &size, NULL);
+                       stream = open_istream(oid, &type, &size, NULL);
                        if (!stream)
                                return error("cannot stream blob %s",
                                             oid_to_hex(oid));