2
0
mirror of https://git.zx2c4.com/cgit synced 2025-08-31 22:35:08 +00:00

ui-shared: remove toggle_ssdiff arg to cgit_diff_link()

This argument is never used with a value other than zero, so remove it
and simplify the code.

Signed-off-by: John Keeping <john@keeping.me.uk>
This commit is contained in:
John Keeping
2014-10-05 10:59:03 +01:00
committed by Lukas Fleischer
parent eeddb5bc09
commit 03f537f1a1
4 changed files with 8 additions and 8 deletions

View File

@@ -99,7 +99,7 @@ void cgit_print_commit(char *hex, const char *prefix)
cgit_commit_link(tmp2, NULL, NULL, ctx.qry.head, tmp, prefix);
html(" (");
cgit_diff_link("diff", NULL, NULL, ctx.qry.head, hex,
sha1_to_hex(p->item->object.sha1), prefix, 0);
sha1_to_hex(p->item->object.sha1), prefix);
html(")</td></tr>");
parents++;
}