* 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
Родитель 61fd2552d8 f1fe8f5c1e
Коммит ee0d794640
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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";