From: Jakub Narebski Date: Sun, 3 Sep 2006 21:43:03 +0000 (+0200) Subject: gitweb: Change the name of diff to parent link in "commit" view to "diff X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/f2e6f87354e46dc9b9a9b65a14ced5add9fbee04a7d532eee50eba78d4b57e17 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 Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index ed2657c..b603d59 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -2781,7 +2781,7 @@ sub git_commit { "" . $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") . "" . "\n"; }