/
cgit
⎇ dark-mode
cgit fork
equinox.salexander@gmail.com
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
cgit.c
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'cgit.c')
-rw-r--r--
cgit.c
3
1 files changed, 3 insertions, 0 deletions
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();