Skip to content

Commit

Permalink
Auto merge of #7935 - cwndrws:revert-removal-of-mtime-preservation, r…
Browse files Browse the repository at this point in the history
…=ehuss

Revert "Disable preserving mtimes on archives"

This reverts commit 8c92e88.

Fixes #7590
  • Loading branch information
bors committed Mar 14, 2020
2 parents 7302186 + 25b90e7 commit 94093c2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/cargo/sources/registry/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,6 @@ impl<'cfg> RegistrySource<'cfg> {

let gz = GzDecoder::new(tarball);
let mut tar = Archive::new(gz);
tar.set_preserve_mtime(false);
let prefix = unpack_dir.file_name().unwrap();
let parent = unpack_dir.parent().unwrap();
for entry in tar.entries()? {
Expand Down

0 comments on commit 94093c2

Please sign in to comment.