aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2010-09-19 18:46:17 +0200
committerLars Hjemli <hjemli@gmail.com>2010-09-19 18:46:17 +0200
commit536c7a1eb201b44b9266babe087cb6f2b75e4a7f (patch)
tree899ecd47f770b1909d107b0f1c777e8b032b25fc /cgitrc.5.txt
parente76a1ea427792aaa331cdec70d7d4ff1fb3422e0 (diff)
parent797110e39d5d433638c82cf27d584ed9b8b93bb7 (diff)
downloadcgit-536c7a1eb201b44b9266babe087cb6f2b75e4a7f.tar.gz
cgit-536c7a1eb201b44b9266babe087cb6f2b75e4a7f.tar.bz2
cgit-536c7a1eb201b44b9266babe087cb6f2b75e4a7f.zip
Merge branch 'lh/section-from-path'
Conflicts: scan-tree.c
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 187031a..ce78d41 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -282,6 +282,12 @@ section::
after this option will inherit the current section name. Default value:
none.
+section-from-path::
+ A number which, if specified before scan-path, specifies how many
+ path elements from each repo path to use as a default section name.
+ If negative, cgit will discard the specified number of path elements
+ above the repo directory. Default value: 0.
+
side-by-side-diffs::
If set to "1" shows side-by-side diffs instead of unidiffs per
default. Default value: "0".