Skip to content

Commit b853030

Browse files
committed
Merge branch 'jk/bisect-show-tree' into maint
"git bisect" makes an internal call to "git diff-tree" when bisection finds the culprit, but this call did not initialize the data structure to pass to the diff-tree API correctly. * jk/bisect-show-tree: bisect: always call setup_revisions after init_revisions
2 parents 1401236 + 43ec550 commit b853030

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bisect.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -890,6 +890,7 @@ static void show_diff_tree(const char *prefix, struct commit *commit)
890890
if (!opt.diffopt.output_format)
891891
opt.diffopt.output_format = DIFF_FORMAT_RAW;
892892

893+
setup_revisions(0, NULL, &opt, NULL);
893894
log_tree_commit(&opt, commit);
894895
}
895896

0 commit comments

Comments
 (0)