From: Jakub Narebski Date: Fri, 23 Mar 2007 20:04:31 +0000 (+0100) Subject: gitweb: Fix "next" link in commit view X-Git-Tag: v1.5.1-rc2~5^2~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f9308a182e220c97cdbf90ee8de2ce21980cb7e9;p=git.git gitweb: Fix "next" link in commit view Fix copy'n'paste error in commit c9d193df which caused that "next" link for merge commits in "commit" view (merge: _commit_ _commit_ ...) was to "commitdiff" view instead of being to "commit" view. Signed-off-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 653ca3cc6..ea39d7e98 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -3719,7 +3719,7 @@ sub git_commit { $formats_nav .= '(merge: ' . join(' ', map { - $cgi->a({-href => href(action=>"commitdiff", + $cgi->a({-href => href(action=>"commit", hash=>$_)}, esc_html(substr($_, 0, 7))); } @$parents ) .