diff options
author | Eric Wong <e@80x24.org> | 2019-01-05 23:28:29 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-04-22 02:34:38 +0000 |
commit | 6d323f98814936af3671122f39aaeed4266a1a74 (patch) | |
tree | a3d750997a839843f24ff2a05f2c982edf70a51f | |
parent | 085cb2517b98cea23aa5ec5f57e1022bf4653616 (diff) | |
download | cgit-6d323f98814936af3671122f39aaeed4266a1a74.tar.gz |
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.c | 3 |
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"), |