You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Auto merge of #4017 - pietroalbini:ensure-test-git-index-branch, r=Turbo87
Ensure the HEAD for test indexes is "master"
Different versions of git2 in different systems use a different name for
the HEAD branch they create, switching between "master" and "main". This
causes test failures when they pick "main", as the rest of crates.io
assumes the branch is named "master".
This commit changes the HEAD name during tests to always be "master",
allowing the test suite to work everywhere without breakages.
Refactoring the application not to care about the branch name will be
done in a future commit, this just focuses on unbreaking the test suite.
0 commit comments