Skip to content

FR: Abort when splitting with all or no changes #9245

@Vampire

Description

@Vampire

Is your feature request related to a problem? Please describe.
If I do a jj split and then change mind, I have to finish the split, specify two commit messages and then jj undo the split, this is a bit cumbersome.

Describe the solution you'd like
If the selection of changes to split away either contains all changes or no changes (i.e. one of the commits is empty),
I'd like to see this interpreted as aborting.
There is no real reason to do this intentionally, as you can simply use jj new -A to get the same result faster and more idiomatic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions