summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 74d6166)
raw | patch | inline | side by side (parent: 74d6166)
author | Petr Baudis <pasky@suse.cz> | |
Fri, 22 Sep 2006 23:21:20 +0000 (01:21 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 22 Sep 2006 23:59:22 +0000 (16:59 -0700) |
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>
Signed-off-by: Petr Baudis <pasky@suse.cz>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | patch | blob | history |
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 7ff5c047f3a2a180776c34c5e40debc1fffb8268..3d06181229a089ad63d7a46744680a3b161a72f3 100755 (executable)
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
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));