Signed-off-by: Jonathan Nieder <[email protected]>
Signed-off-by: Stefan Beller <[email protected]>
---
streaming.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/streaming.c b/streaming.c
index cb7f8b2042..94651ffbf0 100644
--- a/streaming.c
+++ b/streaming.c
@@ -500,10 +500,7 @@ static struct stream_vtbl incore_vtbl = {
static open_method_decl(incore)
{
- if (r != the_repository)
- BUG("r != the_repository");
-
- st->u.incore.buf = read_sha1_file_extended(the_repository, sha1,
+ st->u.incore.buf = read_sha1_file_extended(r, sha1,
type, &st->size, 0);
st->u.incore.read_ptr = 0;
st->vtbl = &incore_vtbl;
--
2.15.1.433.g936d1b9894.dirty