Code

Merge branch 'ft/gitweb-tar-with-gzip-n' into maint
authorJunio C Hamano <gitster@pobox.com>
Thu, 26 May 2011 16:40:50 +0000 (09:40 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 May 2011 16:40:50 +0000 (09:40 -0700)
* ft/gitweb-tar-with-gzip-n:
  gitweb: supply '-n' to gzip for identical output

gitweb/gitweb.perl

index ee69ea683aedf81cd6e6eec0f500bddf2ff54450..f8db40a1c25a2cdf1c4dc1ff42aba0fe66ef8f1c 100755 (executable)
@@ -186,7 +186,7 @@ our %known_snapshot_formats = (
                'type' => 'application/x-gzip',
                'suffix' => '.tar.gz',
                'format' => 'tar',
-               'compressor' => ['gzip']},
+               'compressor' => ['gzip', '-n']},
 
        'tbz2' => {
                'display' => 'tar.bz2',