Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Fix tree link associated with each commit log entry.
author
Petr Baudis
<pasky@suse.cz>
Fri, 22 Sep 2006 23:56:43 +0000
(16:56 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 22 Sep 2006 23:58:51 +0000
(16:58 -0700)
The link forgot to have hb parameter and the resulting tree view
failed to show the navbar for that commit.
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
26d0a97
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index b9df3cc06bab6fd33af61af822adac0aa2045fc5..30d7d76723eeba529a8e5d095a66982f100b2beb 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-2871,7
+2871,7
@@
sub git_log {
" | " .
$cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") .
" | " .
- $cgi->a({-href => href(action=>"tree", hash=>$commit
), hash_base=>$commit
}, "tree") .
+ $cgi->a({-href => href(action=>"tree", hash=>$commit
, hash_base=>$commit)
}, "tree") .
"<br/>\n" .
"</div>\n" .
"<i>" . esc_html($co{'author_name'}) . " [$ad{'rfc2822'}]</i><br/>\n" .