summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2010-08-02 20:21:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-08-02 22:01:14 (GMT)
commit0b45010e76ef2114a530d81da626871de23f467f (patch)
tree47d02c8eaf6cc38e8278f26fc9917d808982ef44
parent84974217151a66b65ae5b173045483ce5eeb5142 (diff)
downloadgit-0b45010e76ef2114a530d81da626871de23f467f.zip
git-0b45010e76ef2114a530d81da626871de23f467f.tar.gz
git-0b45010e76ef2114a530d81da626871de23f467f.tar.bz2
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>
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index e0e9532..8b02767 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -1125,7 +1125,7 @@ sub run {
run_request();
- $pre_dispatch_hook->()
+ $post_dispatch_hook->()
if $post_dispatch_hook;
last REQUEST if ($is_last_request->());