packfile: add repository argument to cache_or_unpack_entry
[gitweb.git] / sha1_file.c
index 93f25c6c6a40d7bb7735ccc184ae3305697938cf..746ff8297a502c5c51dbd2a00e2c34e3bb387fe3 100644 (file)
@@ -1307,7 +1307,7 @@ int oid_object_info_extended_the_repository(const struct object_id *oid, struct
                 * information below, so return early.
                 */
                return 0;
-       rtype = packed_object_info(e.p, e.offset, oi);
+       rtype = packed_object_info(the_repository, e.p, e.offset, oi);
        if (rtype < 0) {
                mark_bad_packed_object(e.p, real->hash);
                return oid_object_info_extended(the_repository, real, oi, 0);