Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: fix snapshot support
[gitweb.git]
/
gitweb
/
gitweb.perl
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index f7c0418c6b1315cff0b03d9de090c9610b1ed8a4..f8d1036744a38a1aa69b8bbe47dd33c90a3c414b 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-2202,7
+2202,7
@@
sub git_snapshot {
my $filename = basename($project) . "-$hash.tar.gz";
print $cgi->header(-type => 'application/x-tar',
- -content-encoding => 'gzip',
+ -content-encoding => '
x-
gzip',
'-content-disposition' => "inline; filename=\"$filename\"",
-status => '200 OK');