Thanks to visit codestin.com
Credit goes to github.com

Skip to content

listBranches() only returns the last component of the branch path #31

@timrchavez

Description

@timrchavez

After looking at the code, it looks like this was done intentionally, but I'm not sure why. I feel I should be able to pass the values returned by listBranches() to getRef() (appended to "heads/") without issue, but if I have a branch 'feature/foo', listBranches() will return 'foo', and getRef() will fail.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions