]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Change the name of diff to parent link in "commit" view to "diff
authorJakub Narebski <redacted>
Sun, 3 Sep 2006 21:43:03 +0000 (23:43 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:10 +0000 (00:07 -0400)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index ed2657c707cb91dfba196faca2b9e52bfffccf59c2c7785c769f183ce7c25b8a..b603d5970d97ef875b2c201c9bd5f34f733bcb00b32dbb28ade08672392e8fda 100755 (executable)
@@ -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";
        }
This page took 0.280008 seconds and 4 git commands to generate.