]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-summary.c
shared.c: use execvp() to execute filter commands
[ps-cgit] / ui-summary.c
index b203bccfabeab67d3e4043d1b26344775aca419c..1e9a1b6daec6120c46148752b5afc8ec18e41691 100644 (file)
@@ -59,7 +59,7 @@ void cgit_print_summary()
        if (ctx.cfg.summary_log > 0) {
                html("<tr class='nohover'><td colspan='4'>&nbsp;</td></tr>");
                cgit_print_log(ctx.qry.head, 0, ctx.cfg.summary_log, NULL,
-                              NULL, NULL, 0);
+                              NULL, NULL, 0, 0);
        }
        if (ctx.repo->clone_url)
                print_urls(ctx.repo->clone_url, NULL);
@@ -113,7 +113,7 @@ void cgit_print_repo_readme(char *path)
         */
        html("<div id='summary'>");
        if (ctx.repo->about_filter)
-               cgit_open_filter(ctx.repo->about_filter);
+               cgit_open_filter(ctx.repo->about_filter, ctx.repo);
        if (ref)
                cgit_print_file(tmp, ref);
        else