summaryrefslogtreecommitdiff
path: root/archive-zip.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2018-03-12 02:27:40 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-03-14 16:23:49 (GMT)
commitef7b5195f1ee8ceef41fb2f03a46248ad7747d69 (patch)
tree1edce34a072ce72c3ac1adf745beddb4f03b418d /archive-zip.c
parent17e65451e305b7501fddec35125bf5d39a4cdcac (diff)
downloadgit-ef7b5195f1ee8ceef41fb2f03a46248ad7747d69.zip
git-ef7b5195f1ee8ceef41fb2f03a46248ad7747d69.tar.gz
git-ef7b5195f1ee8ceef41fb2f03a46248ad7747d69.tar.bz2
streaming: convert open_istream to use struct object_id
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'archive-zip.c')
-rw-r--r--archive-zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archive-zip.c b/archive-zip.c
index 5841a6c..18b951b 100644
--- a/archive-zip.c
+++ b/archive-zip.c
@@ -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));