Add support for 'section-from-path' option

This option can be used to autogenerate section names during scan-path
processing.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli
2010-08-21 15:44:09 +02:00
orang tua 6d7552bc07
melakukan 797110e39d
4 mengubah file dengan 45 tambahan dan 6 penghapusan

Melihat File

@ -278,6 +278,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".