summaryrefslogtreecommitdiff
path: root/cgit.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2015-08-14 15:54:32 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2015-08-14 15:54:32 +0200
commit03de473354dc8c17a3b23a973b5cc67752ad20cb (patch)
tree9ec8e24b626018876eb266c24464ff2e0ae0dde1 /cgit.c
parentc5975ae56684a1188637f2bdba7d8e18de075abc (diff)
cmd: no need for pre function hook now
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'cgit.c')
-rw-r--r--cgit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/cgit.c b/cgit.c
index 7271412..28a2f14 100644
--- a/cgit.c
+++ b/cgit.c
@@ -733,9 +733,6 @@ static void process_request(void)
if (ctx.repo && prepare_repo_cmd())
return;
- if (cmd->pre)
- cmd->pre();
-
cmd->fn();
}