Skip to content

Commit

Permalink
Revert "Disable preserving mtimes on archives"
Browse files Browse the repository at this point in the history
This reverts commit 8c92e88.
  • Loading branch information
cwndrws committed Mar 5, 2020
1 parent 5fe8ab5 commit 25b90e7
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 25b90e7

Please sign in to comment.