Diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce 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.txt | 5 |
1 file changed, 3 insertions, 2 deletions
@@ -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 |
