]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
Fix snapshot link in tree view
[Gitweb] / gitweb.perl
index 7860b780003b7c0c1b80979956bca663a980a5d8478258ff79af55733937e10a..63ffdd3e7773917aa5298886fcb7a20a8875f79890341c6e39af2047c441d2d7 100755 (executable)
@@ -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));
This page took 0.20144 seconds and 4 git commands to generate.