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-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/571fbf8dd54c1157e69583fa1bf5a69104ab38a5c3d1d6214531cc67c6da39d7 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.perl b/gitweb.perl index 566004a..68795d0 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -3787,6 +3787,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";