aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorJohn Keeping2014-01-12 17:13:53 +0000
committerJason A. Donenfeld2014-01-14 02:00:07 +0100
commit4bb87cbf17588ec91b46bf0ef0be01672e9be787 (patch)
tree454216292add842ac194ec909a073002dc840609 /cgitrc.5.txt
parent7bd90b8048fd6937766dff7474947dd80205ea7e (diff)
downloadcgit-4bb87cbf17588ec91b46bf0ef0be01672e9be787.tar.gz
cgit-4bb87cbf17588ec91b46bf0ef0be01672e9be787.tar.bz2
cgit-4bb87cbf17588ec91b46bf0ef0be01672e9be787.zip
filter: introduce "filter type" prefix
This allows different filter implementations to be specified in the configuration file. Currently only "exec" is supported, but it may now be specified either with or without the "exec:" prefix. Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'cgitrc.5.txt')
-rw-r--r--cgitrc.5.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/cgitrc.5.txt b/cgitrc.5.txt
index 52caed0..60159f6 100644
--- a/cgitrc.5.txt
+++ b/cgitrc.5.txt
@@ -557,6 +557,15 @@ config files, e.g. "repo.desc" becomes "desc".
557 557
558FILTER API 558FILTER API
559---------- 559----------
560By default, filters are separate processes that are executed each time they
561are needed. Alternative technologies may be used by prefixing the filter
562specification with the relevant string; available values are:
563
564'exec:'::
565 The default "one process per filter" mode.
566
567Parameters are provided to filters as follows.
568
560about filter:: 569about filter::
561 This filter is given a single parameter: the filename of the source 570 This filter is given a single parameter: the filename of the source
562 file to filter. The filter can use the filename to determine (for 571 file to filter. The filter can use the filename to determine (for