]> git.ipfire.org Git - thirdparty/git.git/blobdiff - bisect.c
cocci: apply the "object-store.h" part of "the_repository.pending"
[thirdparty/git.git] / bisect.c
index 3088516e174eb666e1ec26503db7fb692d12b7b5..db7aa2032e17d00400a52687e24094879b723002 100644 (file)
--- a/bisect.c
+++ b/bisect.c
@@ -148,8 +148,9 @@ static void show_list(const char *debug, int counted, int nr,
                unsigned commit_flags = commit->object.flags;
                enum object_type type;
                unsigned long size;
-               char *buf = read_object_file(&commit->object.oid, &type,
-                                            &size);
+               char *buf = repo_read_object_file(the_repository,
+                                                 &commit->object.oid, &type,
+                                                 &size);
                const char *subject_start;
                int subject_len;