gitweb: Fix tree link associated with each commit log entry.
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>
Petr Baudis committed
Sep 22, 2006 at 16:56 UTC
d72672074361a738afbf3139d8921ddf8bd782f8
1 file changed
+1
-1
gitweb/gitweb.perl
+1
-1
@@ -2871,7 +2871,7 @@ sub git_log {
2871
" | " .
2872
$cgi->a({-href => href(action=>"commitdiff", hash=>$commit)}, "commitdiff") .
2873
" | " .
2874
- $cgi->a({-href => href(action=>"tree", hash=>$commit), hash_base=>$commit}, "tree") .
2874
+ $cgi->a({-href => href(action=>"tree", hash=>$commit, hash_base=>$commit)}, "tree") .
2875
"<br/>\n" .
2876
"</div>\n" .
2877
"<i>" . esc_html($co{'author_name'}) . " [$ad{'rfc2822'}]</i><br/>\n" .