We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b77ac6 commit 14f34e1Copy full SHA for 14f34e1
benches/benchsuite/src/lib.rs
@@ -127,9 +127,12 @@ impl Fixtures {
127
fs::create_dir_all(&index).unwrap();
128
git("init --bare");
129
git("remote add origin https://github.com/rust-lang/crates.io-index-archive");
130
+ // git 2.48.0 changed the behavior of setting HEAD, so let's just
131
+ // force it to match crates.io-index-archive's default branch.
132
+ git("symbolic-ref HEAD refs/heads/main");
133
}
134
git(&format!("fetch origin {}", CRATES_IO_COMMIT));
- git("branch -f master FETCH_HEAD");
135
+ git("branch -f main FETCH_HEAD");
136
137
138
/// This unpacks the compressed workspace skeletons into tmp/workspaces.
0 commit comments