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>
Tento commit je obsažen v:
Lars Hjemli
2009-07-31 16:55:27 +02:00
rodič 18dfbdc099
revize 46b7abed99
4 změnil soubory, kde provedl 25 přidání a 4 odebrání

1
cgit.h
Zobrazit soubor

@@ -183,6 +183,7 @@ struct cgit_config {
int summary_branches;
int summary_log;
int summary_tags;
struct cgit_filter *source_filter;
};
struct cgit_page {