summaryrefslogtreecommitdiff
path: root/streaming.c
diff options
context:
space:
mode:
authorStefan Beller <sbeller@google.com>2018-11-14 00:12:46 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-11-14 08:22:40 (GMT)
commita3b72c89bdd10f8b22d7dae382f0ce9833e5d179 (patch)
treeac94e5ddd57b0be50068cb8f8923a3ef3daaccd4 /streaming.c
parent33b94066f27199071abaa4067d29a98bbbbdae11 (diff)
downloadgit-a3b72c89bdd10f8b22d7dae382f0ce9833e5d179.zip
git-a3b72c89bdd10f8b22d7dae382f0ce9833e5d179.tar.gz
git-a3b72c89bdd10f8b22d7dae382f0ce9833e5d179.tar.bz2
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 d1e6b2d..c843a12 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;