diff options
| author | Junio C Hamano <gitster@pobox.com> | 2007-12-02 19:07:48 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2007-12-02 19:07:48 -0800 |
| commit | ee0d7946400fe773e453ab6ad8b94ae87315be69 (patch) | |
| tree | f34f4be936ae39575c8adf1111f7a0debaf23147 | |
| parent | gitweb: Update and improve gitweb/README file (diff) | |
| parent | gitweb: the commitdiff is very commonly used, it's needed on search page, too (diff) | |
| download | git-ee0d7946400fe773e453ab6ad8b94ae87315be69.tar.gz git-ee0d7946400fe773e453ab6ad8b94ae87315be69.zip | |
Merge branch 'dc/gitweb'
* dc/gitweb:
gitweb: the commitdiff is very commonly used, it's needed on search page, too
| -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 491a3f41d2..ff5daa7901 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"; |
