Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Say strict-export applies only to a scan
| -rw-r--r-- | MANUAL.txt | 4 | |
| -rw-r--r-- | custom/cgitrc | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -549,7 +549,9 @@ strict-export:: for cgit to allow access to that repository. This can be used to emulate gitweb's EXPORT_OK and STRICT_EXPORT functionality and limit cgit's repositories to match those exported by git-daemon. This option must be - defined prior to scan-path. Default value: none. See also: "scan-path". + defined prior to scan-path, and it only filters what scan-path finds, so + a repository listed with repo.url is served whether the file is there or + not. Default value: none. See also: "scan-path". summary-branches:: Specifies the number of branches to display in the repository "summary" diff --git a/custom/cgitrc b/custom/cgitrc index a29da89..8134955 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -149,7 +149,7 @@ remove-suffix=0 # Value is a filesystem path that may use macros. Default is none. #project-list=/var/lib/git/projects.list -# Serve a repository only if this file exists inside it. Emulates gitweb +# Serve a scanned repository only if this file exists inside it. Emulates gitweb # EXPORT_OK. The reverse needs no setting, a repository containing a file named # "noweb" is always skipped by the scan. Must precede scan-path. Value is a # filename. Default is none. |
