ui-shared: remove toggle_ssdiff arg to cgit_commit_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>
Šī revīzija ir iekļauta:
John Keeping
2014-10-05 10:59:02 +01:00
revīziju iesūtīja Lukas Fleischer
vecāks 49f607777f
revīzija eeddb5bc09
5 mainīti faili ar 11 papildinājumiem un 13 dzēšanām

Parādīt failu

@ -67,7 +67,7 @@ static int print_branch(struct refinfo *ref)
html("</td><td>");
if (ref->object->type == OBJ_COMMIT) {
cgit_commit_link(info->subject, NULL, NULL, name, NULL, NULL, 0);
cgit_commit_link(info->subject, NULL, NULL, name, NULL, NULL);
html("</td><td>");
cgit_open_filter(ctx.repo->email_filter, info->author_email, "refs");
html_txt(info->author);