]> granicus.if.org Git - cgit/commit
ui-tree: add support for source-filter option
authorLars Hjemli <hjemli@gmail.com>
Fri, 31 Jul 2009 14:55:27 +0000 (16:55 +0200)
committerLars Hjemli <hjemli@gmail.com>
Fri, 31 Jul 2009 15:41:21 +0000 (17:41 +0200)
commit46b7abed99e957008c01c02cf612aa526ba92f04
tree2cdbfe5281c2ffa645def488d53db0a8b82842f4
parent18dfbdc099c1398016427b6fa7f1a1facb363998
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>
cgit.c
cgit.h
cgitrc.5.txt
ui-tree.c