{"thread":{"id":"24607","subject":"[PATCH] gitweb: Fix typo in run() subroutine","startedAt":"2010-08-02T20:21:47Z","lastAt":"2010-08-02T20:21:47Z","messageCount":1,"participants":["Jakub Narebski"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"146984","messageId":"20100802202047.20307.73672.stgit@localhost.localdomain","threadId":"24607","inReplyTo":null,"subject":"[PATCH] gitweb: Fix typo in run() subroutine","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2010-08-02T20:21:47Z","receivedAt":"2010-08-02T20:21:47Z","isPatch":true,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Run $post_dispatch_hook->() not $pre_dispatch_hook->() after each\nrequest.\n\nSigned-off-by: Jakub Narebski <jnareb@gmail.com>\n---\nProbably nobody is using pre/post dispatch (request) hooks anyway...\nby default they are no-op (empty).\n\n gitweb/gitweb.perl |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl\nindex e0e9532..8b02767 100755\n--- a/gitweb/gitweb.perl\n+++ b/gitweb/gitweb.perl\n@@ -1125,7 +1125,7 @@ sub run {\n \n \t\trun_request();\n \n-\t\t$pre_dispatch_hook->()\n+\t\t$post_dispatch_hook->()\n \t\t\tif $post_dispatch_hook;\n \n \t\tlast REQUEST if ($is_last_request->());\n"}]}