Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Correct what a negative section-from-path drops
section_slash counts the repository's own directory as the first element back from the end, so "-1" takes nothing above it away.
-rw-r--r--MANUAL.txt5
1 file changed, 3 insertions, 2 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index d67351b..e3da45f 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -485,8 +485,9 @@ section::
section-from-path::
A number which, if defined prior to scan-path, specifies how many path
elements from each repository path to use as a default section name. If
- negative, cgit discards the specified number of path elements above the
- repository directory. Default value: "0".
+ negative, cgit instead drops that many path elements from the end, the
+ repository directory included, so "-1" uses every directory above the
+ repository. Default value: "0".
section-sort::
Flag which, when set to "1", sorts the sections on the repository