[PATCH 124/194] streaming: allow open_istream_pack_non_delta to handle arbitrary repositories
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Stefan Beller <sbeller@google.com>
---
streaming.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/streaming.c b/streaming.c
index 94651ffbf0..21bd069315 100644
--- a/streaming.c
+++ b/streaming.c
@@ -440,9 +440,6 @@ static open_method_decl(pack_non_delta)
struct pack_window *window;
enum object_type in_pack_type;
- if (r != the_repository)
- BUG("r != the_repository");
-
st->u.in_pack.pack = oi->u.packed.pack;
st->u.in_pack.pos = oi->u.packed.offset;
window = NULL;
--
2.15.1.433.g936d1b9894.dirty