Don't ask for a specific branch in cargotest

(cherry picked from commit 5808b72484204af035a4d9683731f44bd8d59529)
This commit is contained in:
Laurențiu Nicola 2023-12-04 12:11:44 +02:00 committed by Josh Stone
parent 3df92a29b3
commit 8d8ac5375b

View File

@ -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()