Merge branch 'tg/stash-untracked-with-pathspec-fix'
[gitweb.git] / bisect.c
index f6d05bd66f42bd9874a08f5585ae99337d22dad5..ad395bb2b8663013102737be78cfc7601cab9abc 100644 (file)
--- a/bisect.c
+++ b/bisect.c
@@ -132,7 +132,8 @@ static void show_list(const char *debug, int counted, int nr,
                unsigned flags = commit->object.flags;
                enum object_type type;
                unsigned long size;
-               char *buf = read_sha1_file(commit->object.oid.hash, &type, &size);
+               char *buf = read_object_file(&commit->object.oid, &type,
+                                            &size);
                const char *subject_start;
                int subject_len;