chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b294ded
)
Split brain: Use GZIP -1n to avoid spurious timestamp
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 16 Jul 2016 11:33:51 +0000
(12:33 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Sat, 16 Jul 2016 16:42:03 +0000
(17:42 +0100)
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
patch
|
blob
|
history
diff --git
a/dgit
b/dgit
index ed3f52622288e921b0c44d1ee31c9f34becbc221..81c5ff91558733cd61ec492f370f61777ae1e49f 100755
(executable)
--- 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=-1
n
tar -zcf), "./$debtar", qw(-C ../../..), @files;
$dscaddfile->($debtar);
close $fakedsc or die $!;