diff options
author | Petr Baudis <pasky@suse.cz> | 2006-09-23 01:21:20 +0200 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-09-22 16:59:22 -0700 |
commit | 5c7d2cf3d6a059038d8d0bda6a76fa7818a9caa0 (patch) | |
tree | 8b8684b01b5ee5cdd578ecc956cc11e641a62539 | |
parent | gitweb: Fix @git_base_url_list usage (diff) | |
download | tgif-5c7d2cf3d6a059038d8d0bda6a76fa7818a9caa0.tar.xz |
Fix snapshot link in tree view
It would just give HEAD snapshot instead of one of the particular tree.
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-x | gitweb/gitweb.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 7ff5c047f3..3d06181229 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -2762,7 +2762,7 @@ sub git_tree { if ($have_snapshot) { # FIXME: Should be available when we have no hash base as well. push @views_nav, - $cgi->a({-href => href(action=>"snapshot")}, + $cgi->a({-href => href(action=>"snapshot", hash=>$hash)}, "snapshot"); } git_print_page_nav('tree','', $hash_base, undef, undef, join(' | ', @views_nav)); |