about summary refs log tree commit
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-01-05 23:28:29 +0000
committerEric Wong <e@80x24.org>2019-04-22 02:34:38 +0000
commit6d323f98814936af3671122f39aaeed4266a1a74 (patch)
treea3d750997a839843f24ff2a05f2c982edf70a51f
parent085cb2517b98cea23aa5ec5f57e1022bf4653616 (diff)
ui-shared: get rid of "diff" link at top bar
It's pointless clutter, since the "commit" link shows
the same information.
-rw-r--r--ui-shared.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui-shared.c b/ui-shared.c
index a859ab0..1bb22e6 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -1054,9 +1054,6 @@ void cgit_print_pageheader(void)
                 html(" ");
                 cgit_commit_link("commit", NULL, hc("commit"),
                                  ctx.qry.head, ctx.qry.sha1, ctx.qry.vpath);
-                html(" ");
-                cgit_diff_link("diff", NULL, hc("diff"), ctx.qry.head,
-                               ctx.qry.sha1, ctx.qry.sha2, ctx.qry.vpath);
                 if (ctx.repo->max_stats) {
                         html(" ");
                         cgit_stats_link("stats", NULL, hc("stats"),