Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
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.
Diffstat (limited to 'custom/cgitrc')
| -rw-r--r-- | custom/cgitrc | 4 |
1 file changed, 4 insertions, 0 deletions
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. |
