@matheusbsbs / matheus-bagliano / commits / f1fe8f5c1e
Fork 0

gitweb: the commitdiff is very commonly used, it's needed on search page, too

Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Denis Cheng committed Nov 26, 2007 at 20:42 UTC f1fe8f5c1eb30c3b1e13c425216253045f6ba2d1
1 file changed +2
gitweb/gitweb.perl
+2
@@ -3786,6 +3786,8 @@ sub git_search_grep_body {
3786 "<td class=\"link\">" .
3787 $cgi->a({-href => href(action=>"commit", hash=>$co{'id'})}, "commit") .
3788 " | " .
3789 + $cgi->a({-href => href(action=>"commitdiff", hash=>$co{'id'})}, "commitdiff") .
3790 + " | " .
3791 $cgi->a({-href => href(action=>"tree", hash=>$co{'tree'}, hash_base=>$co{'id'})}, "tree");
3792 print "</td>\n" .
3793 "</tr>\n";