diff options
author | Stefan Beller <sbeller@google.com> | 2018-11-14 01:12:46 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-14 09:22:40 +0100 |
commit | a3b72c89bdd10f8b22d7dae382f0ce9833e5d179 (patch) | |
tree | ac94e5ddd57b0be50068cb8f8923a3ef3daaccd4 /streaming.c | |
parent | packfile: allow has_packed_and_bad to handle arbitrary repositories (diff) | |
download | git-a3b72c89bdd10f8b22d7dae382f0ce9833e5d179.tar.xz git-a3b72c89bdd10f8b22d7dae382f0ce9833e5d179.zip |
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.c | 2 |
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; |