* [PATCH] gitweb: Fix typo in run() subroutine
@ 2010-08-02 20:21 Jakub Narebski
0 siblings, 0 replies; only message in thread
From: Jakub Narebski @ 2010-08-02 20:21 UTC (permalink / raw)
To: git
Run $post_dispatch_hook->() not $pre_dispatch_hook->() after each
request.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
---
Probably nobody is using pre/post dispatch (request) hooks anyway...
by default they are no-op (empty).
gitweb/gitweb.perl | 2 +-
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->());
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-08-02 20:23 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-02 20:21 [PATCH] gitweb: Fix typo in run() subroutine Jakub Narebski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).