Rebase on master

This commit is contained in:
Jakub Beránek 2024-07-03 21:14:46 +02:00
parent b618fea358
commit 54952b4445

View File

@ -370,7 +370,11 @@ fn run(self, build_cli: impl FnOnce(&Tarball<'a>, &mut BootstrapCommand)) -> Gen
if self.builder.rust_info().is_managed_git_subrepository() {
// %ct means committer date
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()]);
}