]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: the commitdiff is very commonly used, it's needed on search page, too
[Gitweb] / 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.026248 seconds and 4 git commands to generate.