about summary refs log tree commit diff stats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorJason A. Donenfeld2013-05-26 15:20:02 +0200
committerJason A. Donenfeld2013-05-26 16:30:03 +0200
commitdcbc0438b2543a733858d62170f3110a89edbed6 (patch)
treebdacfe4546c88bf6b03860ea69a0cad885fa6af4 /cgitrc.5.txt
parentui-summary: Disallow directory traversal (diff)
downloadcgit-dcbc0438b2543a733858d62170f3110a89edbed6.tar.gz
cgit-dcbc0438b2543a733858d62170f3110a89edbed6.zip
readme: use string_list instead of space deliminations
Now this is possible in cgitrc -

readme=:README.md
readme=:readme.md
readme=:README.mkd
readme=:readme.mkd
readme=:README.rst
readme=:readme.rst
readme=:README.html
readme=:readme.html
readme=:README.htm
readme=:readme.htm
readme=:README.txt
readme=:readme.txt
readme=:README
readme=:readme
readme=:INSTALL.txt
readme=:install.txt
readme=:INSTALL
readme=:install

Suggested-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt index 12a843b..6437ef4 100644 --- a/cgitrc.5.txt +++ b/cgitrc.5.txt
@@ -290,8 +290,9 @@ project-list::
290 290
291readme:: 291readme::
292 Text which will be used as default value for "repo.readme". Multiple 292 Text which will be used as default value for "repo.readme". Multiple
293 files may be specified, separated by a space, and cgit will use the 293 config keys may be specified, and cgit will use the first found file
294 first found file in this list. Default value: none. 294 in this list. This is useful in conjunction with scan-path. Default
295 value: none. See also: scan-path, repo.readme.
295 296
296remove-suffix:: 297remove-suffix::
297 If set to "1" and scan-path is enabled, if any repositories are found 298 If set to "1" and scan-path is enabled, if any repositories are found