From 18aedf5a491b30266504b86974d87dd5c54ddf07 Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Sat, 31 Oct 2026 14:56:35 -0700 Subject: Describe a negative section-from-path in cgitrc --- custom/cgitrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'custom') diff --git a/custom/cgitrc b/custom/cgitrc index 8cdf62e..c1a5b68 100644 --- a/custom/cgitrc +++ b/custom/cgitrc @@ -130,8 +130,9 @@ embedded=0 # are 0 or 1. Default is 0. scan-hidden-path=0 -# Derive default section names from N leading path elements. Must precede -# scan-path. Value is an integer that may be negative. Default is 0. +# Derive default section names from the first N path elements, or from all +# but the last -N when N is negative. Must precede scan-path. Value is an +# integer. Default is 0. section-from-path=0 # Strip the .git suffix from a scanned repository's url and name. Must precede -- cgit