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/shared.c | 1 - 1 file changed, 1 deletion(-) (limited to 'source/shared.c') diff --git a/source/shared.c b/source/shared.c index 37c21ae..43b8e56 100644 --- a/source/shared.c +++ b/source/shared.c @@ -224,7 +224,6 @@ struct cgit_repo *cgit_add_repo(const char *url) repo->enable_remote_branches = ctx.cfg.enable_remote_branches; repo->enable_subject_links = ctx.cfg.enable_subject_links; repo->enable_html_serving = ctx.cfg.enable_html_serving; - repo->enable_stats = ctx.cfg.enable_stats; repo->max_stats = ctx.cfg.max_stats; repo->branch_sort = ctx.cfg.branch_sort; repo->commit_sort = ctx.cfg.commit_sort; -- cgit v2.8.0