X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=archive-zip.c;h=e9f426298b6d1c4ce64a1ef537a97375a8855d3c;hb=b381c98891c90c198b247b970bae783123226cad;hp=11f5b1974ba433fd77f9558528a053e4e2bb0a88;hpb=4e730fcd1856d6154e054ffa272652e6b648f765;p=thirdparty%2Fgit.git diff --git a/archive-zip.c b/archive-zip.c index 11f5b1974b..e9f426298b 100644 --- a/archive-zip.c +++ b/archive-zip.c @@ -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));