diff options
author | Jakub Narebski <jnareb@gmail.com> | 2006-09-03 21:43:03 (GMT) |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-03 23:15:11 (GMT) |
commit | f2e609473cb4aeb3884b7dd57a3a652df4e5edcf (patch) | |
tree | 2b91b9292fe61fd4e1b71d7da7844d64515915ef /gitweb/gitweb.perl | |
parent | 2886bdb118699fbc343e3c0b4f93f06fbeae1061 (diff) | |
download | git-f2e609473cb4aeb3884b7dd57a3a652df4e5edcf.zip git-f2e609473cb4aeb3884b7dd57a3a652df4e5edcf.tar.gz git-f2e609473cb4aeb3884b7dd57a3a652df4e5edcf.tar.bz2 |
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>
Diffstat (limited to 'gitweb/gitweb.perl')
-rwxr-xr-x | gitweb/gitweb.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 57ffa25..2b40aa1 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -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"; } |