mirror of
https://git.zx2c4.com/cgit
synced 2025-08-01 08:34:36 +02:00
Merge branch 'fh/filter-api'
Conflicts: cgit.c
This commit is contained in:
commit
ab350a77b1
11 changed files with 127 additions and 21 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue