]> gitweb.ps.run Git - ps-cgit/commit
ui-snapshot: pass -n to gzip, to suppress timestamp
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 26 Sep 2012 00:56:38 +0000 (02:56 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Thu, 27 Sep 2012 01:35:25 +0000 (03:35 +0200)
commit055e092a330098f6b9177266facf43029dbe1883
tree478515dce37fec72f6012a4187823d68a432c523
parent7f08e03941c40a56fb1b5b3df62aa819fb2d6554
ui-snapshot: pass -n to gzip, to suppress timestamp

Since cgit snapshots of tags are often used for releases, we don't
want the rarely used feature of the gzip compressor that includes
an embedded timestamp into the archive, since this makes each tarball
of the same (potentially signed) tag different.

This commit refactors the archive handling code a bit so that each
different format is able to run with an arbitrary argv for the filter.
ui-snapshot.c