Skip to content

Commit f3f9ee3

Browse files
committed
Use HEAD instead of master when fetching the default branch in the collector
1 parent ea1a30f commit f3f9ee3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

collector/src/compile/execute/rustc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,9 @@ fn checkout(artifact: &ArtifactId) -> anyhow::Result<()> {
193193
.current_dir("rust")
194194
.arg("fetch")
195195
.arg("origin")
196-
.arg("master")
196+
.arg("HEAD")
197197
.status()
198-
.context("git fetch origin master")?;
198+
.context("git fetch origin HEAD")?;
199199
assert!(status.success(), "git fetch successful");
200200
} else {
201201
let status = Command::new("git")

0 commit comments

Comments
 (0)