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:

revīziju iesūtīja
Lukas Fleischer

vecāks
49f607777f
revīzija
eeddb5bc09
@ -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);
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user