From 5808b72484204af035a4d9683731f44bd8d59529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lauren=C8=9Biu=20Nicola?= Date: Mon, 4 Dec 2023 12:11:44 +0200 Subject: [PATCH] Don't ask for a specific branch in cargotest --- src/tools/cargotest/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/cargotest/main.rs b/src/tools/cargotest/main.rs index 7044cb8928694..a5d2ffb157238 100644 --- a/src/tools/cargotest/main.rs +++ b/src/tools/cargotest/main.rs @@ -140,7 +140,7 @@ fn clone_repo(test: &Test, out_dir: &Path) -> PathBuf { let status = Command::new("git") .arg("fetch") .arg(test.repo) - .arg("master") + .arg(test.sha) .arg(&format!("--depth={}", depth)) .current_dir(&out_dir) .status()