packfile: add repository argument to cache_or_unpack_entry
[gitweb.git] / fast-import.c
index afe06bd7c18b06be95e4eda63ad1b7f5a7d96aa7..b009353e93ef1399542689173062c6ea3275dcc9 100644 (file)
@@ -1376,7 +1376,7 @@ static void *gfi_unpack_entry(
                 */
                p->pack_size = pack_size + the_hash_algo->rawsz;
        }
-       return unpack_entry(p, oe->idx.offset, &type, sizep);
+       return unpack_entry(the_repository, p, oe->idx.offset, &type, sizep);
 }
 
 static const char *get_mode(const char *str, uint16_t *modep)