aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2006-09-22 16:56:43 -0700
committerJunio C Hamano <junkio@cox.net>2006-09-22 16:58:51 -0700
commitd72672074361a738afbf3139d8921ddf8bd782f8 (patch)
treeda44be19119242c5fb22cf2a4647c2b2e632846e /gitweb
parent26d0a976e88cf2e1ccb0b4d8172e9ce24d144d1f (diff)
downloadgit-d72672074361a738afbf3139d8921ddf8bd782f8.tar.gz
git-d72672074361a738afbf3139d8921ddf8bd782f8.tar.xz
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>
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index b9df3cc06..30d7d7672 100755
--- 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" .