X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/c1cd290d1f83d3d1c2d081d734e8d213f12cc06b..6b5b655f6d2449fe33d8f48f6e98d5e421bf3ff9:/ui-blame.c diff --git a/ui-blame.c b/ui-blame.c index 62cf431..62647a8 100644 --- a/ui-blame.c +++ b/ui-blame.c @@ -51,7 +51,7 @@ static void emit_blame_entry(struct blame_scoreboard *sb, char *detail = emit_suspect_detail(suspect); - html(""); + html(""); cgit_commit_link(find_unique_abbrev(oid->hash, DEFAULT_ABBREV), detail, NULL, ctx.qry.head, oid_to_hex(oid), suspect->path); html("\n"); @@ -101,7 +101,7 @@ static void print_object(const unsigned char *sha1, const char *path, argv_array_push(&rev_argv, "blame"); argv_array_push(&rev_argv, rev); init_revisions(&revs, NULL); - DIFF_OPT_SET(&revs.diffopt, ALLOW_TEXTCONV); + revs.diffopt.flags.allow_textconv = 1; setup_revisions(rev_argv.argc, rev_argv.argv, &revs, NULL); init_scoreboard(&sb); sb.revs = &revs;