]> git.ipfire.org Git - thirdparty/git.git/blobdiff - archive-zip.c
The sixth batch
[thirdparty/git.git] / archive-zip.c
index 11f5b1974ba433fd77f9558528a053e4e2bb0a88..e9f426298b6d1c4ce64a1ef537a97375a8855d3c 100644 (file)
@@ -345,7 +345,8 @@ 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, &type, &size, NULL);
+                       stream = open_istream(args->repo, oid, &type, &size,
+                                             NULL);
                        if (!stream)
                                return error(_("cannot stream blob %s"),
                                             oid_to_hex(oid));