X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/13c2d3df0440ce04273de3149631a9bd97490c6e..d7034806a4b1279f62d606501f831dcad31798e6:/cgit.c?ds=sidebyside diff --git a/cgit.c b/cgit.c index ed02614..baad1c8 100644 --- a/cgit.c +++ b/cgit.c @@ -742,6 +742,9 @@ static void process_request(void) if (ctx.repo && prepare_repo_cmd()) return; + if (cmd->pre) + cmd->pre(); + if (cmd->want_layout) { cgit_print_http_headers(); cgit_print_docstart();