aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-12-02 19:07:48 -0800
committerJunio C Hamano <gitster@pobox.com>2007-12-02 19:07:48 -0800
commitee0d7946400fe773e453ab6ad8b94ae87315be69 (patch)
treef34f4be936ae39575c8adf1111f7a0debaf23147 /gitweb
parent61fd2552d89a15b005d36bab99e7172e1c85878b (diff)
parentf1fe8f5c1eb30c3b1e13c425216253045f6ba2d1 (diff)
downloadgit-ee0d7946400fe773e453ab6ad8b94ae87315be69.tar.gz
git-ee0d7946400fe773e453ab6ad8b94ae87315be69.tar.xz
Merge branch 'dc/gitweb'
* dc/gitweb: gitweb: the commitdiff is very commonly used, it's needed on search page, too
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl2
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";