summaryrefslogtreecommitdiff
path: root/t/t9601-cvsimport-vendor-branch.sh
diff options
context:
space:
mode:
authorLibravatar Fraser Tweedale <frase@frase.id.au>2011-04-26 11:32:00 +1000
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-04-26 13:14:02 -0700
commit0c8c385ef188bf76b6edcda87a7cc9bc05596fa3 (patch)
treee09e0f1a09fd0977f12d8a69fdf138c08d6531ab /t/t9601-cvsimport-vendor-branch.sh
parentGit 1.7.5 (diff)
downloadtgif-0c8c385ef188bf76b6edcda87a7cc9bc05596fa3.tar.xz
gitweb: supply '-n' to gzip for identical output
For projects that do not release official archives, gitweb's snapshot feature would be an excellent alternative, and but without the '-n' ('--no-name') argument, gzip includes a timestamp in output which results in different files. Because some systems hash/checksum downloaded files to ensure integrity of the tarball (e.g FreeBSD), it is desirable to produce tarballs in a reproducible way for that purpose. Whilst '--no-name' is more descriptive, the long version of the flag is not supported on all systems. In particular, OpenBSD does not appear to support it. Supply '-n' to gzip to exclude timestamp from output and produce idential output every time. Signed-off-by: Fraser Tweedale <frase@frase.id.au> Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t9601-cvsimport-vendor-branch.sh')
0 files changed, 0 insertions, 0 deletions