From 6fbfebf300fcc92f349db18da05f748c4d355d21 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sun, 6 Sep 2026 14:06:51 -1000 Subject: Fold `enable-stats` back into `max-stats` A `max-stats` period enables the page again, as it did before v2.2.0, so one key does both jobs. --- source/ui-shared.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/ui-shared.c') diff --git a/source/ui-shared.c b/source/ui-shared.c index 5cf9428..74b5be0 100644 --- a/source/ui-shared.c +++ b/source/ui-shared.c @@ -625,7 +625,7 @@ static void print_repo_tabs(void) tab_class("diff"), ctx.qry.head, ctx.qry.oid, ctx.qry.oid2, ctx.qry.vpath); html("\n"); - if (ctx.repo->enable_stats) { + if (ctx.repo->max_stats) { html("
  • "); cgit_stats_link("stats", "Commit activity", tab_class("stats"), ctx.qry.head, ctx.qry.vpath); -- cgit v2.8.0