From f2e609473cb4aeb3884b7dd57a3a652df4e5edcf Mon Sep 17 00:00:00 2001 From: Jakub Narebski Date: Sun, 3 Sep 2006 23:43:03 +0200 Subject: [PATCH] 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 --- gitweb/gitweb.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 57ffa25070..2b40aa11e7 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/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"; } -- 2.11.4.GIT