diff options
author | John Keeping <john@keeping.me.uk> | 2014-01-13 02:13:53 (JST) |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2014-01-14 10:00:07 (JST) |
commit | 4bb87cbf17588ec91b46bf0ef0be01672e9be787 (patch) | |
tree | 454216292add842ac194ec909a073002dc840609 /cgitrc.5.txt | |
parent | 7bd90b8048fd6937766dff7474947dd80205ea7e (diff) | |
download | cgit-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.txt | 9 |
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 | ||
558 | FILTER API | 558 | FILTER API |
559 | ---------- | 559 | ---------- |
560 | By default, filters are separate processes that are executed each time they | ||
561 | are needed. Alternative technologies may be used by prefixing the filter | ||
562 | specification with the relevant string; available values are: | ||
563 | |||
564 | 'exec:':: | ||
565 | The default "one process per filter" mode. | ||
566 | |||
567 | Parameters are provided to filters as follows. | ||
568 | |||
560 | about filter:: | 569 | about 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 |