summary refs log tree commit diff
path: root/src/tools/cargotest/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/cargotest/main.rs')
-rw-r--r--src/tools/cargotest/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/cargotest/main.rs b/src/tools/cargotest/main.rs
index 7044cb89286..a5d2ffb1572 100644
--- a/src/tools/cargotest/main.rs
+++ b/src/tools/cargotest/main.rs
@@ -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()