about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--build_system/prepare.rs4
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));