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

Hard-coded default branch #8

Open
bbusse opened this issue Apr 22, 2023 · 2 comments
Open

Hard-coded default branch #8

bbusse opened this issue Apr 22, 2023 · 2 comments

Comments

@bbusse
Copy link

bbusse commented Apr 22, 2023

Fails when e.g. 'main' is the default branch

@bbusse
Copy link
Author

bbusse commented Apr 23, 2023

With go-git there currently is no way to get the default branch: go-git/go-git#510

@bbusse
Copy link
Author

bbusse commented Apr 23, 2023

What's actually wanted is not the 'default branch' but the currently checked out HEAD I think. Maybe with something like: master...bbusse:matcha:use-current-head

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

No branches or pull requests

1 participant