]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: the commitdiff is very commonly used, it's needed on search page, too
authorDenis Cheng <redacted>
Mon, 26 Nov 2007 12:42:06 +0000 (20:42 +0800)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:12 +0000 (00:07 -0400)
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 566004a3d85203128c02e633d8013c4b0fec07a16dfd6600447115518b16a78e..68795d0360e26a70630fae9126016336b456c03ed60face1c484044bee46ba01 100755 (executable)
@@ -3787,6 +3787,8 @@ sub git_search_grep_body {
                      "<td class=\"link\">" .
                      $cgi->a({-href => href(action=>"commit", hash=>$co{'id'})}, "commit") .
                      " | " .
+                     $cgi->a({-href => href(action=>"commitdiff", hash=>$co{'id'})}, "commitdiff") .
+                     " | " .
                      $cgi->a({-href => href(action=>"tree", hash=>$co{'tree'}, hash_base=>$co{'id'})}, "tree");
                print "</td>\n" .
                      "</tr>\n";
This page took 0.197236 seconds and 4 git commands to generate.