gitweb: the commitdiff is very commonly used, it's needed on search page, too
PATCH 1/1 gitweb: the commitdiff is very commonly used, it's needed on search page, too
--- gitweb/gitweb.perl | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
gitweb/gitweb.perl +2 -0
@@ -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";
Signature · 1 line
1.5.3.4
I'll queue this to my tree but will drop if I hear objections from gitweb people CC'ed over the weekend.
Jakub Narebski
Acked-byQuoted 2 lines · Junio C Hamano
I'll queue this to my tree but will drop if I hear objections from gitweb people CC'ed over the weekend.
This just ads link to 'search' view to 'commitdiff'; looks very nice.
Acked-by Jakub Narebski <[email protected]>
Signature · 3 lines
Jakub Narebski Warsaw, Poland ShadeHawk on #git