diff options
author | Lars Hjemli <hjemli@gmail.com> | 2009-07-31 23:55:27 (JST) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-08-01 00:41:21 (JST) |
commit | 46b7abed99e957008c01c02cf612aa526ba92f04 (patch) | |
tree | 2cdbfe5281c2ffa645def488d53db0a8b82842f4 /cgit.h | |
parent | 18dfbdc099c1398016427b6fa7f1a1facb363998 (diff) | |
download | cgit-46b7abed99e957008c01c02cf612aa526ba92f04.zip cgit-46b7abed99e957008c01c02cf612aa526ba92f04.tar.gz |
ui-tree: add support for source-filter option
This new option is used to specify an external command which will be
executed when displaying blob content in the tree view. Blob content
will be written to STDIN of the filter and STDOUT from the filter
will be included verbatim in the html output from cgit. The file name
of the blob will be passed as the only argument to the filter command.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.h')
-rw-r--r-- | cgit.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -183,6 +183,7 @@ struct cgit_config { | |||
183 | int summary_branches; | 183 | int summary_branches; |
184 | int summary_log; | 184 | int summary_log; |
185 | int summary_tags; | 185 | int summary_tags; |
186 | struct cgit_filter *source_filter; | ||
186 | }; | 187 | }; |
187 | 188 | ||
188 | struct cgit_page { | 189 | struct cgit_page { |