Code

gitweb: Fix typo in run() subroutine
authorJakub Narebski <jnareb@gmail.com>
Mon, 2 Aug 2010 20:21:47 +0000 (22:21 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 2 Aug 2010 22:01:14 +0000 (15:01 -0700)
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>
gitweb/gitweb.perl

index e0e95326481e1db3bb6df5c4ce68c56270731a9f..8b0276727146d6fbd9123b6bbe8b5f0631f823b1 100755 (executable)
@@ -1125,7 +1125,7 @@ sub run {
 
                run_request();
 
-               $pre_dispatch_hook->()
+               $post_dispatch_hook->()
                        if $post_dispatch_hook;
 
                last REQUEST if ($is_last_request->());