mirror of
https://git.zx2c4.com/cgit
synced 2025-08-31 15:09:42 +02:00
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>
This commit is contained in:
parent
49f607777f
commit
eeddb5bc09
5 changed files with 11 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue