Code

gitweb: Fix "next" link in commit view
authorJakub Narebski <jnareb@gmail.com>
Fri, 23 Mar 2007 20:04:31 +0000 (21:04 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 23 Mar 2007 21:54:52 +0000 (14:54 -0700)
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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl

index 653ca3cc60ef161f06bd3a6652eba7ad3453cc2e..ea39d7e98bb646897d1bb1f1e270b1cd2fc046ad 100755 (executable)
@@ -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 ) .