Skip to content

Support all kinds of refs, not just branches and tags #82

@mattwynne

Description

@mattwynne

We had a need to be able to push arbitrary refs, not just branches and tags. (See SmartBear/git-en-boite#217 (comment))

I made this hack to get it to work for us:
SmartBear@2dceb3b

However, I'm sure this will have broken something, as I can see assumptions in the code where it expects the ref to either be a branch or a tag. Fortunately it doesn't seem to have broken anything we were relying on in our own test suite.

Are you interested in merging this change in? I'd prefer to only be using our own fork temporarily.

If so, can you coach me how to add tests for it, and with any other changes that might be needed to make it work without breaking the existing API?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions