From: Kay Sievers Date: Sun, 7 Aug 2005 18:17:19 +0000 (+0200) Subject: v064 X-Git-Tag: v1.4.0~1^2~111 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=664f4cc5eba8c6fab56e6ab112f295d5ef26316e;p=git.git v064 --- diff --git a/gitweb.cgi b/gitweb.cgi index 4b891fd82..61fc23f06 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";