Skip to content

Commit 8d8ac53

Browse files
lnicolacuviper
authored andcommitted
Don't ask for a specific branch in cargotest
(cherry picked from commit 5808b72)
1 parent 3df92a2 commit 8d8ac53

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)