about summary refs log tree commit diff
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
parentMerge branch 'lh/readme' (diff)
parentAdd support for 'section-from-path' option (diff)
downloadcgit-pink-536c7a1eb201b44b9266babe087cb6f2b75e4a7f.tar.gz
cgit-pink-536c7a1eb201b44b9266babe087cb6f2b75e4a7f.zip
Merge branch 'lh/section-from-path'
Conflicts:
	scan-tree.c
Diffstat (limited to '')
-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".