From: Jakub Narebski Date: Mon, 2 Aug 2010 20:21:47 +0000 (+0200) Subject: gitweb: Fix typo in run() subroutine X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/c96f1eef6df16a5a98c0644bd4f8fb2f735bd9b010f0cafe77af921e2f6efc6a?ds=sidebyside;hp=812f2576c28b74492d5cf61b37865aa35af0461c0fefecc0718d256aa2463722 gitweb: Fix typo in run() subroutine Run $post_dispatch_hook->() not $pre_dispatch_hook->() after each request. Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index 8936b0e..13f4a3d 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -1126,7 +1126,7 @@ sub run { run_request(); - $pre_dispatch_hook->() + $post_dispatch_hook->() if $post_dispatch_hook; last REQUEST if ($is_last_request->());