Browse Source

Merge branch 'dc/gitweb'

* dc/gitweb:
  gitweb: the commitdiff is very commonly used, it's needed on search page, too
maint
Junio C Hamano 17 years ago
parent
commit
ee0d794640
  1. 2
      gitweb/gitweb.perl

2
gitweb/gitweb.perl

@ -3786,6 +3786,8 @@ sub git_search_grep_body { @@ -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";

Loading…
Cancel
Save