diff options
author | Lars Hjemli <hjemli@gmail.com> | 2011-02-19 14:25:55 +0100 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2011-02-19 14:25:55 +0100 |
commit | fb9e6d1594a24fe4e551fd57a9c91fd18b14806e (patch) | |
tree | bc0b99adcce3a19f127e6eb2509585ed9486831e /cgitrc.5.txt | |
parent | Merge branch 'jh/graph' (diff) | |
parent | scan_path(): Do not recurse into hidden directories by default (diff) | |
download | cgit-pink-fb9e6d1594a24fe4e551fd57a9c91fd18b14806e.tar.gz cgit-pink-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 '')
-rw-r--r-- | cgitrc.5.txt | 8 |
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 |