From: Denis Cheng Date: Mon, 26 Nov 2007 12:42:06 +0000 (+0800) Subject: gitweb: the commitdiff is very commonly used, it's needed on search page, too X-Git-Tag: v1.5.4-rc0~109^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f1fe8f5c1eb30c3b1e13c425216253045f6ba2d1;p=git.git gitweb: the commitdiff is very commonly used, it's needed on search page, too Acked-by: Jakub Narebski Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 491a3f41d..ff5daa790 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -3786,6 +3786,8 @@ sub git_search_grep_body { "" . $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 "\n" . "\n";