aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2011-02-19 14:25:55 +0100
committerLars Hjemli <hjemli@gmail.com>2011-02-19 14:25:55 +0100
commitfb9e6d1594a24fe4e551fd57a9c91fd18b14806e (patch)
treebc0b99adcce3a19f127e6eb2509585ed9486831e /cgitrc.5.txt
parentMerge branch 'jh/graph' (diff)
parentscan_path(): Do not recurse into hidden directories by default (diff)
downloadcgit-fb9e6d1594a24fe4e551fd57a9c91fd18b14806e.tar.xz
cgit-fb9e6d1594a24fe4e551fd57a9c91fd18b14806e.zip
Merge branch 'jh/scan-path'
* jh/scan-path: scan_path(): Do not recurse into hidden directories by default scan_path(): Improve handling of inaccessible directories
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 3c20fe1..a832830 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -274,6 +274,14 @@ root-title::
Text printed as heading on the repository index page. Default value:
"Git Repository Browser".
+scan-hidden-path::
+ If set to "1" and scan-path is enabled, scan-path will recurse into
+ directories whose name starts with a period ('.'). Otherwise,
+ scan-path will stay away from such directories (considered as
+ "hidden"). Note that this does not apply to the ".git" directory in
+ non-bare repos. This must be defined prior to scan-path.
+ Default value: 0. See also: scan-path.
+
scan-path::
A path which will be scanned for repositories. If caching is enabled,
the result will be cached as a cgitrc include-file in the cache