Skip to content

Can "jj split" create multiple changes? #5295

Answered by martinvonz
kastl-ars asked this question in Q&A
Discussion options

You must be logged in to vote

It is not currently supported. Feel free to file a feature request for it. How do you imagine it would work? Would you just repeatedly select the changes to go in the next commit? Or are you imagining a TUI (or GUI?) that lets you move changes back and forth between all the splits until you confirm? If it's implemented by repeated two-way splitting, what should happen if you do a few splits and then exit the diff editor with an error code? I think we would want to keep your first splits (and ask for descriptions for them) but leave the "broken" split as a single commit.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@kastl-ars
Comment options

Answer selected by kastl-ars
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants