From 0a6b2ac155081bdfa7b4c9124d34a46c45c05353 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Tue, 3 Nov 2026 21:15:12 -1000 Subject: Say strict-export applies only to a scan --- MANUAL.txt | 4 +++- custom/cgitrc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MANUAL.txt b/MANUAL.txt index 451dbcc..0e48f07 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -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. -- cgit 2.12.1