Merge branch 'fh/filter-api'

Conflicts:
	cgit.c
此提交包含在:
Lars Hjemli
2011-05-23 23:28:38 +02:00
當前提交 ab350a77b1
共有 11 個檔案被更改,包括 127 行新增21 行删除

查看文件

@ -45,7 +45,7 @@ static void print_text_buffer(const char *name, char *buf, unsigned long size)
if (ctx.repo->source_filter) {
html("<td class='lines'><pre><code>");
ctx.repo->source_filter->argv[1] = xstrdup(name);
cgit_open_filter(ctx.repo->source_filter);
cgit_open_filter(ctx.repo->source_filter, ctx.repo);
html_raw(buf, size);
cgit_close_filter(ctx.repo->source_filter);
free(ctx.repo->source_filter->argv[1]);