@matheusbsbs / matheus-bagliano / commits / 0b45010e76
Fork 0

gitweb: Fix typo in run() subroutine

Run $post_dispatch_hook->() not $pre_dispatch_hook->() after each request. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jakub Narebski committed Aug 2, 2010 at 22:21 UTC 0b45010e76ef2114a530d81da626871de23f467f
1 file changed +1 -1
gitweb/gitweb.perl
+1 -1
@@ -1125,7 +1125,7 @@ sub run {
1125
1126 run_request();
1127
1128 - $pre_dispatch_hook->()
1128 + $post_dispatch_hook->()
1129 if $post_dispatch_hook;
1130
1131 last REQUEST if ($is_last_request->());