gitweb: Change the name of diff to parent link in "commit" view to "diff
authorJakub Narebski <jnareb@gmail.com>
Sun, 3 Sep 2006 21:43:03 +0000 (23:43 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 3 Sep 2006 23:15:11 +0000 (16:15 -0700)
Change the name of diff to parent (current commit to one of parents)
link in "commit" view (git_commit subroutine) from "commitdiff" to
"diff". Let's leave "commitdiff" for equivalent of git-show, or
git-diff-tree with one revision, i.e. diff for a given commit to its
parent (parents).

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl
index 57ffa25070984f6ca3310c83062ac8dcd68d30fc..2b40aa11e7a56af788b42238d55258aff1d03b60 100755 (executable)
@@ -2781,7 +2781,7 @@ sub git_commit {
                      "<td class=\"link\">" .
                      $cgi->a({-href => href(action=>"commit", hash=>$par)}, "commit") .
                      " | " .
-                     $cgi->a({-href => href(action=>"commitdiff", hash=>$hash, hash_parent=>$par)}, "commitdiff") .
+                     $cgi->a({-href => href(action=>"commitdiff", hash=>$hash, hash_parent=>$par)}, "diff") .
                      "</td>" .
                      "</tr>\n";
        }