1
0
mirror of https://github.com/git/git.git synced 2024-09-25 00:31:44 +02:00

Merge branch 'dc/gitweb'

* dc/gitweb:
  gitweb: the commitdiff is very commonly used, it's needed on search page, too
This commit is contained in:
Junio C Hamano 2007-12-02 19:07:48 -08:00
commit ee0d794640

View File

@ -3786,6 +3786,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";