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

Fix #90 getLocalRef() returns wrong ref #91

Merged
merged 1 commit into from Jun 14, 2021
Merged

Commits on Jun 14, 2021

  1. Fix #90 getLocalRef() returns wrong ref

    git show-ref will return all branches where end segment matches the input. This cause issues when there are both 'someBranch' and 'somePrefix/someBranch' branches. This fix ensures the correct ref is returned by explicitly matching segments after common parts (e.g. refs/heads).
    dorny committed Jun 14, 2021
    Configuration menu
    Copy the full SHA
    af2564d View commit details
    Browse the repository at this point in the history