From: Petr Baudis Date: Fri, 22 Sep 2006 23:56:43 +0000 (-0700) Subject: gitweb: Fix tree link associated with each commit log entry. X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/8e1be58d99417c9ed705139b6b5fcb83cadb57a60f4559a3832d9c012d004ffe 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 --- diff --git a/gitweb.perl b/gitweb.perl index 808defd..8621505 100755 --- a/gitweb.perl +++ b/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") . "
\n" . "\n" . "" . esc_html($co{'author_name'}) . " [$ad{'rfc2822'}]
\n" .