aboutsummaryrefslogtreecommitdiffstats
path: root/cgitrc.5.txt
diff options
context:
space:
mode:
authorGravatar John Keeping <john@keeping.me.uk>2014-01-13 02:13:53 (JST)
committerGravatar Jason A. Donenfeld <Jason@zx2c4.com>2014-01-14 10:00:07 (JST)
commit4bb87cbf17588ec91b46bf0ef0be01672e9be787 (patch)
tree454216292add842ac194ec909a073002dc840609 /cgitrc.5.txt
parent7bd90b8048fd6937766dff7474947dd80205ea7e (diff)
downloadcgit-4bb87cbf17588ec91b46bf0ef0be01672e9be787.zip
cgit-4bb87cbf17588ec91b46bf0ef0be01672e9be787.tar.gz
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