X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/4fb49864db51affddf37ab2a563b0eb4b33e155d..87c47488d02fcace4da0d468cd9ddd1651b7949e:/ui-log.c?ds=sidebyside diff --git a/ui-log.c b/ui-log.c index c97b8e0..3220fd9 100644 --- a/ui-log.c +++ b/ui-log.c @@ -49,7 +49,7 @@ static void inspect_files(struct diff_filepair *pair) files++; if (ctx.repo->enable_log_linecount) - cgit_diff_files(pair->one->sha1, pair->two->sha1, &old_size, + cgit_diff_files(&pair->one->oid, &pair->two->oid, &old_size, &new_size, &binary, 0, ctx.qry.ignorews, count_lines); } @@ -263,8 +263,9 @@ static void print_commit(struct commit *commit, struct rev_info *revs) html("\n"); - if (revs->graph || ctx.qry.showmsg) { /* Print a second table row */ - html("