path: root/dgit
diff options
authorIan Jackson <>2016-07-16 12:33:51 +0100
committerIan Jackson <>2016-07-16 17:42:03 +0100
commitf003a2342e846c512393749568fe85477a9f282a (patch)
tree56e70d9d9886ad03c0438027217aa112dcf99ee5 /dgit
parentb294deda313d2cbf29e2401aac585736cb2582f3 (diff)
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.
Diffstat (limited to 'dgit')
1 files changed, 1 insertions, 1 deletions
diff --git a/dgit b/dgit
index ed3f526..81c5ff9 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;
close $fakedsc or die $!;