From f42b5912e576229a1f034d884c9ed042292d8aa7 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Tue, 3 Nov 2026 20:33:27 -1000 Subject: State once that cgitrc is read in order The rule was written down only under scan-path, so a setting such as enable-blame=1 added at the end of cgitrc silently did nothing. --- custom/cgitrc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'custom') diff --git a/custom/cgitrc b/custom/cgitrc index 427ced0..a29da89 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -11,6 +11,10 @@ # file. # # One key=value pair per line. Lines starting with # or ; are comments. +# +# cgit reads the file from the top down. Most settings a repository can override +# with a repo.* line reach only the repositories defined after them, so add +# global settings above the scan-path and repo.url lines rather than at the end. # Maximum number of entries in the cgit output cache. A value of 0 disables # caching. Value is an integer. Default is 0. -- cgit 2.12.1