Don't ask for a specific branch in cargotest

This commit is contained in:
Laurențiu Nicola 2023-12-04 12:11:44 +02:00
parent 85a4bd8f58
commit 5808b72484

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