Skip to content

Commit

Permalink
gitweb: Fix typo in run() subroutine
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jakub Narebski authored and Junio C Hamano committed Aug 2, 2010
1 parent 8497421 commit 0b45010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gitweb/gitweb.perl
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ sub run {

run_request();

$pre_dispatch_hook->()
$post_dispatch_hook->()
if $post_dispatch_hook;

last REQUEST if ($is_last_request->());
Expand Down

0 comments on commit 0b45010

Please sign in to comment.