Skip to content

Commit

Permalink
Don't ask for a specific branch in cargotest
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola authored and Mark-Simulacrum committed Dec 4, 2023
1 parent 66033ec commit de148ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/cargotest/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit de148ec

Please sign in to comment.