Skip to content

Does not preserve capitalization in branch path names - can't push to remote #285

Closed
@AndrewKwantek

Description

@AndrewKwantek

Issue:
It does not seem to be preserving capitalization of branch paths on fetch.
When using a different capitalization in a branch path than other branches with similar branch path, branch looses link to remote and pushes are broken. It does preserve a few of the branch names, but most are falsely interpolated as having a capitalization that it doesn't actually have on remote.

Details:
Setup, create two branches on remote:
Feature/branch-name
feature/other-branch-name

Fork will fetch both as:
Feature/branch-name
Feature/other-branch-name <-- wrong cap

When I checkout the lower case one, make changes, and then try to commit, it acts like it's not linked to remote branch anymore. It asks me to select the remote branch, which shows 'Feature/other-branch-name' as an option. That branch doesn't exist on remote. I cannot manually enter a branch name here to change the cap. So I select it and the local branch is pushed into a new branch on remote.

It does not seem to be preserving capitalization of branch paths on fetch.

Version: Fork 1.33.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions