Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Move scan-path below the settings it inherits
The quick start says to uncomment scan-path, and in its old place a scanned repository missed every setting below it, among them the filters, the snapshots and the enable flags.
Diffstat (limited to '')
-rw-r--r--custom/cgitrc9
1 file changed, 5 insertions, 4 deletions
diff --git a/custom/cgitrc b/custom/cgitrc
index 86f00aa..4b4dd4c 100644
--- a/custom/cgitrc
+++ b/custom/cgitrc
@@ -133,10 +133,6 @@ embedded=0
# Default is none.
#module-link=/%s/commit/?id=%s
-# Directory scanned for git repositories at parse time. Value is a filesystem
-# path that may use macros. Default is none.
-#scan-path=/var/lib/git
-
# When scanning, recurse into dot-directories. Must precede scan-path. Values
# are 0 or 1. Default is 0.
scan-hidden-path=0
@@ -426,6 +422,11 @@ age-file=info/web/last-modified
#mimetype.png=image/png
#mimetype.svg=image/svg+xml
+# Directory scanned for git repositories at parse time. Each repository found
+# inherits the global settings above this line, so it comes after them all.
+# Value is a filesystem path that may use macros. Default is none.
+#scan-path=/var/lib/git
+
# Each repository is introduced by a repo.url line. All following repo.*
# settings apply to that repository until the next repo.url line. When
# repositories are discovered via scan-path the repo. prefix is dropped inside