commit-reach.c: allow get_merge_bases_many_0 to handle any repo
[gitweb.git] / streaming.c
index d1e6b2dce6877cb1407ac9d38e65d8b2bae25daa..c843a1230f35e255ba627ef47e0873b103110425 100644 (file)
@@ -490,7 +490,7 @@ static struct stream_vtbl incore_vtbl = {
 
 static open_method_decl(incore)
 {
-       st->u.incore.buf = read_object_file_extended(oid, type, &st->size, 0);
+       st->u.incore.buf = read_object_file_extended(the_repository, oid, type, &st->size, 0);
        st->u.incore.read_ptr = 0;
        st->vtbl = &incore_vtbl;