From 32cb4f35c92ba2602b5e65d05239158c5e32f56b Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 18:07:09 -1000 Subject: List scanned repositories in path order readdir hands entries back in whatever order the filesystem keeps them, so proj111 could come before proj105 and a section could start twice. section-sort is off by default to keep the order written in cgitrc, and a scan has none to keep. --- MANUAL.txt | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index 1fd3fcf..473a6e5 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -478,7 +478,10 @@ scan-path:: filters and the enable flags, not only the entries that say so explicitly. The readme list is the exception, since a repository with none of its own follows the global list as the whole cgitrc leaves it. - Default value: none. See also: "cache-scan-ttl", "project-list", + The scan adds repositories in path order, comparing names as a + "case-sensitive-sort" defined prior to scan-path says, and takes those + a project-list names in the order it lists them. Default value: none. + See also: "cache-scan-ttl", "case-sensitive-sort", "project-list", "strict-export", "Macro expansion". section:: @@ -496,9 +499,10 @@ section-from-path:: section-sort:: Flag which, when set to "1", sorts the sections on the repository listing by name, along with the repositories within each section. Set - this flag to "0" to preserve the order in the cgitrc file. Default - value: "0". See also: "section", "case-sensitive-sort", - "repository-sort". + this flag to "0" to preserve the order in the cgitrc file, where the + repositories a scan-path finds come in path order. Default value: "0". + See also: "section", "case-sensitive-sort", "repository-sort", + "scan-path". side-by-side-diffs:: If set to "1" shows side-by-side diffs instead of unidiffs by default. -- cgit 2.12.1