diff options
author | Denis Cheng <crquan@gmail.com> | 2007-11-26 20:42:06 +0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-12-02 02:32:36 -0800 |
commit | f1fe8f5c1eb30c3b1e13c425216253045f6ba2d1 (patch) | |
tree | 8b4d2f99ecdaa2f35a7a0db2993fed5fd92e79aa /gitweb | |
parent | 1c46ab1fada6eb449336a624995293cdd74f2b08 (diff) | |
download | git-f1fe8f5c1eb30c3b1e13c425216253045f6ba2d1.tar.gz git-f1fe8f5c1eb30c3b1e13c425216253045f6ba2d1.tar.xz |
gitweb: the commitdiff is very commonly used, it's needed on search page, too
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb')
-rwxr-xr-x | gitweb/gitweb.perl | 2 |
1 files changed, 2 insertions, 0 deletions
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 { "<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"; |