mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +00: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:
commit
ee0d794640
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue