FR: Describe both sides of jj split
in one editor
#5432
Labels
polish🪒🐃
Make existing features more convenient and more consistent
jj split
in one editor
#5432
Is your feature request related to a problem? Please describe.
jj split
opens an editor up to twice: for the first commit, and optionally for the second commit (if the original commit's description was not empty). Since #3828, it's been possible to describe multiple commits in the same editor.Describe the solution you'd like
jj split
should (configurable?) open an editor with contents like:Describe alternatives you've considered
This could be configurable. The current behavior of one commit = one $EDITOR could be useful for workflows that override $EDITOR to do configuration more advanced than available in templates.
Additional context
This comes from a discord discussion where the user's normal split workflow involved only setting a message for the first commit. In that case, having any comment is an annoyance, since only the first commit message should be modified. However, that workflow is equivalent to
jj commit
. I am of the opinion thatjj commit [-i]
should be preferred in this case, andjj split
should always showJJ: describe
lines for both commits.The text was updated successfully, but these errors were encountered: