Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: Fix typo in hash key name in %opts in git_header_html
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>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
3499cb1
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 934aacb61494a666ed0bdf9a9f1ef77dc6147c23..e108bbc60ac9f02de5dc796377a251ede2bae6a4 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-3220,7
+3220,7
@@
sub git_header_html {
}
print $cgi->header(-type=>$content_type, -charset => 'utf-8',
-status=> $status, -expires => $expires)
}
print $cgi->header(-type=>$content_type, -charset => 'utf-8',
-status=> $status, -expires => $expires)
- unless ($opts{'-no_http_header
s
'});
+ unless ($opts{'-no_http_header'});
my $mod_perl_version = $ENV{'MOD_PERL'} ? " $ENV{'MOD_PERL'}" : '';
print <<EOF;
<?xml version="1.0" encoding="utf-8"?>
my $mod_perl_version = $ENV{'MOD_PERL'} ? " $ENV{'MOD_PERL'}" : '';
print <<EOF;
<?xml version="1.0" encoding="utf-8"?>