From 1a43006a03b6be785d19642d1a7f9959491fe0da Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 5 Sep 2026 20:03:15 -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 2.12.1