]> git.ipfire.org Git - thirdparty/git.git/blobdiff - diff.c
Merge branch 'mt/use-passed-repo-more-in-funcs'
[thirdparty/git.git] / diff.c
diff --git a/diff.c b/diff.c
index 5e4471f15f9b09e8575574941248b47a79bcd610..f2cfbf2214a29fc9ddf0e356230df7625d3d1139 100644 (file)
--- a/diff.c
+++ b/diff.c
@@ -4024,7 +4024,7 @@ int diff_populate_filespec(struct repository *r,
                                return 0;
                        }
                }
-               s->data = read_object_file(&s->oid, &type, &s->size);
+               s->data = repo_read_object_file(r, &s->oid, &type, &s->size);
                if (!s->data)
                        die("unable to read %s", oid_to_hex(&s->oid));
                s->should_free = 1;