From 03de473354dc8c17a3b23a973b5cc67752ad20cb Mon Sep 17 00:00:00 2001 From: Jason A. Donenfeld Date: Fri, 14 Aug 2015 15:54:32 +0200 Subject: cmd: no need for pre function hook now Signed-off-by: Jason A. Donenfeld --- cgit.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'cgit.c') 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(); } -- cgit v1.2.3-70-g09d2