{"thread":{"id":"7370","subject":"[PATCH] gitweb: Fix \"next\" link in commit view","startedAt":"2007-03-23T20:04:31Z","lastAt":"2007-03-23T20:04:31Z","messageCount":1,"participants":["Jakub Narebski"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"37837","messageId":"11746802714024-git-send-email-jnareb@gmail.com","threadId":"7370","inReplyTo":null,"subject":"[PATCH] gitweb: Fix \"next\" link in commit view","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-03-23T20:04:31Z","receivedAt":"2007-03-23T20:04:31Z","isPatch":true,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"Fix copy'n'paste error in commit c9d193df which caused that \"next\"\nlink for merge commits in \"commit\" view\n  (merge: _commit_ _commit_ ...)\nwas to \"commitdiff\" view instead of being to \"commit\" view.\n\nSigned-off-by: Jakub Narebski <jnareb@gmail.com>\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 27b5970..5214050 100755\n--- a/gitweb/gitweb.perl\n+++ b/gitweb/gitweb.perl\n@@ -3719,7 +3719,7 @@ sub git_commit {\n \t\t$formats_nav .=\n \t\t\t'(merge: ' .\n \t\t\tjoin(' ', map {\n-\t\t\t\t$cgi->a({-href => href(action=>\"commitdiff\",\n+\t\t\t\t$cgi->a({-href => href(action=>\"commit\",\n \t\t\t\t                       hash=>$_)},\n \t\t\t\t        esc_html(substr($_, 0, 7)));\n \t\t\t} @$parents ) .\n-- \n1.5.0.5\n"}]}