the repository which powers this website
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cgit.c b/cgit.c
index ed026142..baad1c86 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();