Skip to content

Commit 5808b72

Browse files
committed
Don't ask for a specific branch in cargotest
1 parent 85a4bd8 commit 5808b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/cargotest/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ fn clone_repo(test: &Test, out_dir: &Path) -> PathBuf {
140140
let status = Command::new("git")
141141
.arg("fetch")
142142
.arg(test.repo)
143-
.arg("master")
143+
.arg(test.sha)
144144
.arg(&format!("--depth={}", depth))
145145
.current_dir(&out_dir)
146146
.status()

0 commit comments

Comments
 (0)