From f1fe8f5c1eb30c3b1e13c425216253045f6ba2d1 Mon Sep 17 00:00:00 2001 From: Denis Cheng Date: Mon, 26 Nov 2007 20:42:06 +0800 Subject: [PATCH] gitweb: the commitdiff is very commonly used, it's needed on search page, too Acked-by: Jakub Narebski Signed-off-by: Junio C Hamano --- gitweb/gitweb.perl | 2 ++ 1 file changed, 2 insertions(+) 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"; -- 2.30.2