From 664f4cc5eba8c6fab56e6ab112f295d5ef26316e Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 7 Aug 2005 20:17:19 +0200 Subject: [PATCH] v064 --- gitweb.cgi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gitweb.cgi b/gitweb.cgi index 4b891fd827..61fc23f060 100755 --- a/gitweb.cgi +++ b/gitweb.cgi @@ -14,7 +14,7 @@ use CGI::Carp qw(fatalsToBrowser); my $cgi = new CGI; -my $version = "063"; +my $version = "064"; my $projectroot = "/pub/scm"; my $defaultprojects = "linux/kernel/git"; my $gitbin = "/usr/bin"; @@ -142,6 +142,9 @@ sub git_footer_html { sub die_error { my $status = shift || "403 Forbidden"; my $error = shift || "Malformed query, file missing or permission denied"; + + $project = ""; + $action = ""; git_header_html($status); print "
\n" . "

\n"; @@ -522,7 +525,7 @@ if ($action eq "blob") { if ($ad{'hour_local'} < 6 ) { print ""; } print "
\n"; print "committer   " . escapeHTML($co{'committer'}) . "
\n"; - print "commit-time " . $ad{'rfc2822'}; + print "commit-time " . $cd{'rfc2822'}; printf(" (%02d:%02d %s)", $cd{'hour_local'}, $cd{'minute_local'}, $cd{'tz_local'}); print "
\n"; print "commit      $hash
\n";