Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify initial_head when initializing a repository for tests so the global git config doesn't make it fail #988

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

lapfelix
Copy link
Contributor

My global git config includes init.defaultbranch set to develop so two thirds of the tests would fail on my computer. This change makes the tests work on more computers by explicitly specifying "master" as the default branch name (through libgit2's initial_head option) so the computer's global git config is ignored.

I AGREE TO THE GITUP CONTRIBUTOR LICENSE AGREEMENT

@lucasderraugh lucasderraugh merged commit aabbc8a into git-up:master Apr 23, 2024
@storagesiddiq
Copy link

Thank you for your query

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants