diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-12-14 15:23:24 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2022-12-14 15:23:24 +0000 |
| commit | 2bb3996244cf1b89878da9e39841e9f6bf061602 (patch) | |
| tree | 5ecf0b879e0e8f95ec7d00951b767c59d9ac7205 | |
| parent | a45924cc21d3138ee449d1cf756ca914ce10f52d (diff) | |
| download | rust-2bb3996244cf1b89878da9e39841e9f6bf061602.tar.gz rust-2bb3996244cf1b89878da9e39841e9f6bf061602.zip | |
Remove unnecessary git init
| -rw-r--r-- | build_system/prepare.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/build_system/prepare.rs b/build_system/prepare.rs index 8826f1bd259..8ac67e8f942 100644 --- a/build_system/prepare.rs +++ b/build_system/prepare.rs @@ -67,10 +67,6 @@ fn prepare_sysroot(dirs: &Dirs) { fs::write(SYSROOT_RUSTC_VERSION.to_path(dirs), &rustc_version).unwrap(); eprintln!("[GIT] init"); - let mut git_init_cmd = Command::new("git"); - git_init_cmd.arg("init").arg("-q").current_dir(sysroot_src.to_path(dirs)); - spawn_and_wait(git_init_cmd); - init_git_repo(&sysroot_src.to_path(dirs)); apply_patches(dirs, "sysroot", &sysroot_src.to_path(dirs)); |
