From 6d323f98814936af3671122f39aaeed4266a1a74 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 5 Jan 2019 23:28:29 +0000 Subject: ui-shared: get rid of "diff" link at top bar It's pointless clutter, since the "commit" link shows the same information. --- ui-shared.c | 3 --- 1 file changed, 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"), -- cgit v1.2.3-24-ge0c7