]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Fix typo in run() subroutine
authorJakub Narebski <redacted>
Mon, 2 Aug 2010 20:21:47 +0000 (22:21 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:30 +0000 (00:51 -0400)
Run $post_dispatch_hook->() not $pre_dispatch_hook->() after each
request.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 8936b0ef21da989a5f02e4b78cb40665d4a2248aeed600d00079b90d22ce017a..13f4a3da5185c6644d320998f396aeb6c1cbc561f085a5ef95d4c8188ff66dc6 100755 (executable)
@@ -1126,7 +1126,7 @@ sub run {
 
                run_request();
 
 
                run_request();
 
-               $pre_dispatch_hook->()
+               $post_dispatch_hook->()
                        if $post_dispatch_hook;
 
                last REQUEST if ($is_last_request->());
                        if $post_dispatch_hook;
 
                last REQUEST if ($is_last_request->());
This page took 0.217936 seconds and 4 git commands to generate.