From: Ian Jackson Date: Sat, 16 Jul 2016 11:33:51 +0000 (+0100) Subject: Split brain: Use GZIP -1n to avoid spurious timestamp X-Git-Tag: archive/debian/2.0~272 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=f003a2342e846c512393749568fe85477a9f282a Split brain: Use GZIP -1n to avoid spurious timestamp Otherwise the cache entry's .dsc contains the hash of a fake debian.tar.gz which has had a timestamp put in it by gzip, defeating the cache. --- diff --git a/dgit b/dgit index ed3f5262..81c5ff91 100755 --- a/dgit +++ b/dgit @@ -3055,7 +3055,7 @@ END } my $debtar= srcfn $fakeversion,'.debian.tar.gz'; - runcmd qw(env GZIP=-1 tar -zcf), "./$debtar", qw(-C ../../..), @files; + runcmd qw(env GZIP=-1n tar -zcf), "./$debtar", qw(-C ../../..), @files; $dscaddfile->($debtar); close $fakedsc or die $!;