summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3499cb1)
raw | patch | inline | side by side (parent: 3499cb1)
author | Jakub Narebski <jnareb@gmail.com> | |
Sat, 12 Jun 2010 22:35:59 +0000 (00:35 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 13 Jun 2010 17:03:04 +0000 (10:03 -0700) |
The name of the key has to be the same in call site handle_errors_html
and in called subroutine that uses it, i.e. git_header_html.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
and in called subroutine that uses it, i.e. git_header_html.
Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
gitweb/gitweb.perl | patch | blob | history |
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 934aacb61494a666ed0bdf9a9f1ef77dc6147c23..e108bbc60ac9f02de5dc796377a251ede2bae6a4 100755 (executable)
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
}
print $cgi->header(-type=>$content_type, -charset => 'utf-8',
-status=> $status, -expires => $expires)
- unless ($opts{'-no_http_headers'});
+ unless ($opts{'-no_http_header'});
my $mod_perl_version = $ENV{'MOD_PERL'} ? " $ENV{'MOD_PERL'}" : '';
print <<EOF;
<?xml version="1.0" encoding="utf-8"?>