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

git/libgit2: fix failing tests when the default branch is not "master" #545

Merged
merged 1 commit into from
Jan 17, 2022
Merged

git/libgit2: fix failing tests when the default branch is not "master" #545

merged 1 commit into from
Jan 17, 2022

Conversation

bigkevmcd
Copy link
Contributor

Don't assume master is the default branch.

This introduces a quick lookup of the default branch rather than
assuming "master".

Signed-off-by: Kevin McDermott kevin@weave.works

This introduces a quick lookup of the default branch rather than
assuming "master".

Signed-off-by: Kevin McDermott <kevin@weave.works>
@hiddeco hiddeco changed the title Fix failing tests when the default branch is not "master". git/libgit2: fix failing tests when the default branch is not "master" Jan 17, 2022
@hiddeco hiddeco added the area/git Git related issues and pull requests label Jan 17, 2022
Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @bigkevmcd 🙇

@hiddeco hiddeco merged commit be57586 into fluxcd:main Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/git Git related issues and pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants