From f003a2342e846c512393749568fe85477a9f282a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 16 Jul 2016 12:33:51 +0100 Subject: [PATCH] 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. --- dgit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 $!; -- 2.30.2