projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c46ab1
)
gitweb: the commitdiff is very commonly used, it's needed on search page, too
author
Denis Cheng
<crquan@gmail.com>
Mon, 26 Nov 2007 12:42:06 +0000
(20:42 +0800)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 2 Dec 2007 10:32:36 +0000
(
02:32
-0800)
Acked-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl
patch
|
blob
|
history
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 491a3f41d20deafa6513e7f574108022b762507b..ff5daa7901d9976dc35e1b4a05e1cf0140297d6a 100755
(executable)
--- 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";