gitweb: Change the name of diff to parent link in "commit" view to "diff
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>
Jakub Narebski committed
Sep 3, 2006 at 23:43 UTC
f2e609473cb4aeb3884b7dd57a3a652df4e5edcf
1 file changed
+1
-1
gitweb/gitweb.perl
+1
-1
@@ -2781,7 +2781,7 @@ sub git_commit {
2781
"<td class=\"link\">" .
2782
$cgi->a({-href => href(action=>"commit", hash=>$par)}, "commit") .
2783
" | " .
2784
- $cgi->a({-href => href(action=>"commitdiff", hash=>$hash, hash_parent=>$par)}, "commitdiff") .
2784
+ $cgi->a({-href => href(action=>"commitdiff", hash=>$hash, hash_parent=>$par)}, "diff") .
2785
"</td>" .
2786
"</tr>\n";
2787
}