]> git.ipfire.org Git - thirdparty/git.git/blobdiff - archive-tar.c
streaming: convert open_istream to use struct object_id
[thirdparty/git.git] / archive-tar.c
index fd622eacc0d9a8a80dcb9fe509fd5b405e208f1a..7a0d31d847904e1314769302af3bd61c4c330e3e 100644 (file)
@@ -119,7 +119,7 @@ static int stream_blocked(const struct object_id *oid)
        char buf[BLOCKSIZE];
        ssize_t readlen;
 
-       st = open_istream(oid->hash, &type, &sz, NULL);
+       st = open_istream(oid, &type, &sz, NULL);
        if (!st)
                return error("cannot stream blob %s", oid_to_hex(oid));
        for (;;) {