mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-22 20:03:37 +00:00
Rebase on master
This commit is contained in:
parent
b618fea358
commit
54952b4445
@ -370,7 +370,11 @@ impl<'a> Tarball<'a> {
|
|||||||
if self.builder.rust_info().is_managed_git_subrepository() {
|
if self.builder.rust_info().is_managed_git_subrepository() {
|
||||||
// %ct means committer date
|
// %ct means committer date
|
||||||
let timestamp = helpers::output(
|
let timestamp = helpers::output(
|
||||||
helpers::git(Some(&self.builder.src)).arg("log").arg("-1").arg("--format=%ct"),
|
&mut helpers::git(Some(&self.builder.src))
|
||||||
|
.arg("log")
|
||||||
|
.arg("-1")
|
||||||
|
.arg("--format=%ct")
|
||||||
|
.command,
|
||||||
);
|
);
|
||||||
cmd.args(["--override-file-mtime", timestamp.trim()]);
|
cmd.args(["--override-file-mtime", timestamp.trim()]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user