Hard-coded default branch
bbusse opened this issue · 2 comments
bbusse commented
Fails when e.g. 'main' is the default branch
bbusse commented
With go-git there currently is no way to get the default branch: go-git/go-git#510
bbusse commented
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