Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'dc/gitweb'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 3 Dec 2007 03:07:48 +0000
(19:07 -0800)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 3 Dec 2007 03:07:48 +0000
(19:07 -0800)
* dc/gitweb:
gitweb: the commitdiff is very commonly used, it's needed on search page, too
gitweb/gitweb.perl
patch
|
blob
|
history
raw
(from parent 1:
61fd255
)
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";