Commit f2e60947 authored by Jakub Narębski's avatar Jakub Narębski Committed by Junio C Hamano

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 Narębski's avatarJakub Narebski <[email protected]>
Signed-off-by: default avatarJunio C Hamano <[email protected]>
parent 2886bdb1
...@@ -2781,7 +2781,7 @@ sub git_commit { ...@@ -2781,7 +2781,7 @@ sub git_commit {
"<td class=\"link\">" . "<td class=\"link\">" .
$cgi->a({-href => href(action=>"commit", hash=>$par)}, "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") .
"</td>" . "</td>" .
"</tr>\n"; "</tr>\n";
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment