download/git: force gzip compression level 6
authorPetr Kulhavy <brain@jikos.cz>
Mon, 11 Sep 2017 22:13:40 +0000 (00:13 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 12 Sep 2017 21:36:13 +0000 (23:36 +0200)
commit04a22cf1b521acb5634ed083e0381d42979d1698
treec82317334d0ae9c77e83a3897b2bcd1e68c07ada
parent81bf606d160ecd2479d338e18111e56f4020728c
download/git: force gzip compression level 6

Force gzip compression level 6 when calculating hash of a downloaded GIT repo.
To make sure the tar->gzip->checksum chain always provides consistent result.`

The script was relying on the default compression level, which must not be
necessarily consistent among different gzip versions. The level 6 is gzip's
current default compression level.

Signed-off-by: Petr Kulhavy <brain@jikos.cz>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
support/download/git