summary refs log tree commit diff
path: root/streaming.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-11-13 16:12:46 -0800
committerJunio C Hamano <gitster@pobox.com>2018-11-14 17:22:40 +0900
commita3b72c89bdd10f8b22d7dae382f0ce9833e5d179 (patch)
treeac94e5ddd57b0be50068cb8f8923a3ef3daaccd4 /streaming.c
parent33b94066f27199071abaa4067d29a98bbbbdae11 (diff)
object-store: allow read_object_file_extended to read from any repo
read_object_file_extended is not widely used, so migrate it all at once.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'streaming.c')
-rw-r--r--streaming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/streaming.c b/streaming.c
index d1e6b2dce6..c843a1230f 100644
--- a/streaming.c
+++ b/streaming.c
@@ -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;