Skip to content

Overly aggressive disabling of branching #386

@ian-r-rose

Description

@ian-r-rose

Thanks for all the work on this extension, it's coming along nicely!

I often will make uncommited changes to a repository, then later decide I want to commit them in a new branch. Git allows one to checkout a new branch when there are uncommited changes (or even staged changes), and then proceed as normal. However, when I try that in the UI, I get an error message saying

Creating new branch disabled

You have staged changes in current branch. Please commit / discard them before creating a new branch.

Is this disabling of branching really necessary? It's not a hard git requirement (also, note that the error message is incorrect if there are unstaged changes). Apologies if there is already an issue discussing this, I didn't find one after a quick search.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions