From 8a7aa400143f3e95b3ecd18f19e21b526d6a419d Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 19:47:34 -1000 Subject: Read the description file without repo.desc Only a scanned repository fell back to its description file, so one listed in cgitrc without repo.desc showed "[no description]" however its file read. repo.desc may follow repo.path, so the file is read where a page shows the description, which also spares every other request the reads. --- MANUAL.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'MANUAL.txt') diff --git a/MANUAL.txt b/MANUAL.txt index 1205db1..e6b7e61 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -603,10 +603,10 @@ repo.defbranch:: if there is no suitable HEAD. repo.desc:: - The value to show as repository description. When repositories are found - by scan-path the description file inside the repository is read as a - fallback, unless it still holds git's "Unnamed repository" boilerplate. - Default value: "[no description]". + The value to show as repository description. Without one, the first + line of the description file inside the repository is shown, unless it + still holds git's "Unnamed repository" boilerplate. Default value: + "[no description]". repo.email-filter:: Override the default email-filter. Default value: . See -- cgit 2.12.1