Author: Jason A. Donenfeld <Jason@zx2c4.com>
ui-blame: set repo for sb Otherwise recent git complains and crashes with: "BUG: blame.c:1787: repo is NULL". Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
ui-blame.c | 1 +
diff --git a/ui-blame.c b/ui-blame.c index 6dc555fbd22b52651eda9afd7bcf245e464e37da..c52cb9b85f53750c655c5253018f2583e0efea80 100644 --- a/ui-blame.c +++ b/ui-blame.c @@ -131,6 +131,7 @@ revs.diffopt.flags.allow_textconv = 1; setup_revisions(rev_argv.argc, rev_argv.argv, &revs, NULL); init_scoreboard(&sb); sb.revs = &revs; + sb.repo = the_repository; setup_scoreboard(&sb, path, &o); o->suspects = blame_entry_prepend(NULL, 0, sb.num_lines, o); prio_queue_put(&sb.commits, o->commit);