aboutsummaryrefslogtreecommitdiffstats
path: root/cgit.c
diff options
context:
space:
mode:
authorJason A. Donenfeld2015-08-14 15:54:32 +0200
committerJason A. Donenfeld2015-08-14 15:54:32 +0200
commit03de473354dc8c17a3b23a973b5cc67752ad20cb (patch)
tree9ec8e24b626018876eb266c24464ff2e0ae0dde1 /cgit.c
parentc5975ae56684a1188637f2bdba7d8e18de075abc (diff)
downloadcgit-03de473354dc8c17a3b23a973b5cc67752ad20cb.tar.gz
cgit-03de473354dc8c17a3b23a973b5cc67752ad20cb.tar.bz2
cgit-03de473354dc8c17a3b23a973b5cc67752ad20cb.zip
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)
733 if (ctx.repo && prepare_repo_cmd()) 733 if (ctx.repo && prepare_repo_cmd())
734 return; 734 return;
735 735
736 if (cmd->pre)
737 cmd->pre();
738
739 cmd->fn(); 736 cmd->fn();
740} 737}
741 738