From 763f7866ede8c39288563666c927364c4a4c9c39 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 7 Nov 2026 17:13:19 -1000 Subject: Report a max-stats value that names no period A value cgit does not know as a period turns the statistics page off, so a typo such as "decade" read the same as leaving stats off on purpose. The empty value stays quiet because a cached repolist writes it for a repository that turned stats off. --- MANUAL.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index 859514c..06a1184 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -456,8 +456,9 @@ max-stats:: Enable the statistics page, which holds the commits-per-author table, and set the coarsest period it offers. Valid values are "week", "month", "quarter" and "year", each of which also offers the finer periods before - it. If unspecified, statistics are disabled. Default value: none. See - also: "repo.max-stats". + it. If unspecified, statistics are disabled, and any other value but "0" + disables them with a warning. Default value: none. See also: + "repo.max-stats". mimetype-file:: Specifies the file to use for automatic mimetype lookup. If specified -- cgit 2.12.1