aboutsummaryrefslogtreecommitdiffstats
path: root/ui-refs.c
diff options
context:
space:
mode:
authorJohn Keeping2014-10-05 10:59:02 +0100
committerLukas Fleischer2014-12-13 12:38:42 +0100
commiteeddb5bc0905d4728001a111a9b1eb60ecccf9bd (patch)
treee1193c55a604584acc8e3198838b358d44a65133 /ui-refs.c
parent49f607777fe3d9393574a572d72caa568ee3ca3c (diff)
downloadcgit-eeddb5bc0905d4728001a111a9b1eb60ecccf9bd.tar.gz
cgit-eeddb5bc0905d4728001a111a9b1eb60ecccf9bd.tar.bz2
cgit-eeddb5bc0905d4728001a111a9b1eb60ecccf9bd.zip
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>
Diffstat (limited to 'ui-refs.c')
-rw-r--r--ui-refs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui-refs.c b/ui-refs.c
index 7e58737..d2ba48d 100644
--- a/ui-refs.c
+++ b/ui-refs.c
@@ -67,7 +67,7 @@ static int print_branch(struct refinfo *ref)
67 html("</td><td>"); 67 html("</td><td>");
68 68
69 if (ref->object->type == OBJ_COMMIT) { 69 if (ref->object->type == OBJ_COMMIT) {
70 cgit_commit_link(info->subject, NULL, NULL, name, NULL, NULL, 0); 70 cgit_commit_link(info->subject, NULL, NULL, name, NULL, NULL);
71 html("</td><td>"); 71 html("</td><td>");
72 cgit_open_filter(ctx.repo->email_filter, info->author_email, "refs"); 72 cgit_open_filter(ctx.repo->email_filter, info->author_email, "refs");
73 html_txt(info->author); 73 html_txt(info->author);