You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When editing commit descriptions, particularly when editing multiple commits at once, I find it visually difficult to recognize JJ-ignored blocks from actual content that I should fill in. Here is an example:
JJ: Enter or edit commit descriptions after the `JJ: describe` lines.
JJ: Warning:
JJ: - The text you enter will be lost on a syntax error.
JJ: - The syntax of the separator lines may change in the future.
JJ: describe 52fd2a531ca1 -------
Release v5.3
Prepare the release for 5.3.
JJ: This commit contains the following changes:
JJ: M CHANGELOG.md
JJ: M configure.ac
JJ: describe 6d2f3c530bb7 -------
JJ: Lines starting with "JJ: " (like this one) will be removed.
Describe the solution you'd like
It would be great, if the generated draft didn't add newlines without the JJ prefix. Maybe this could be an option, or maybe the templating language could be extended to make this possible:
JJ: Enter or edit commit descriptions after the `JJ: describe` lines.
JJ: Warning:
JJ: - The text you enter will be lost on a syntax error.
JJ: - The syntax of the separator lines may change in the future.
JJ:
JJ: describe 52fd2a531ca1 -------
Release v5.3
Prepare the release for 5.3.
JJ: This commit contains the following changes:
JJ: M CHANGELOG.md
JJ: M configure.ac
JJ:
JJ: describe 6d2f3c530bb7 -------
I also removed the JJ: Lines starting with "JJ: " line to remove some more "noise".
This looks probably a bit like bike shedding, but to me, this would make a significant difference.
Describe alternatives you've considered
I tried modifying draft_commit_description, but this doesn't seem possible. jj adds these empty lines outside of it
Additional context
The text was updated successfully, but these errors were encountered:
We recently had a discussion on Discord about this, although in relation to jj split and the consensus was to either make it configurable or a template.
Is your feature request related to a problem? Please describe.
When editing commit descriptions, particularly when editing multiple commits at once, I find it visually difficult to recognize JJ-ignored blocks from actual content that I should fill in. Here is an example:
Describe the solution you'd like
It would be great, if the generated draft didn't add newlines without the JJ prefix. Maybe this could be an option, or maybe the templating language could be extended to make this possible:
I also removed the
JJ: Lines starting with "JJ: "
line to remove some more "noise".This looks probably a bit like bike shedding, but to me, this would make a significant difference.
Describe alternatives you've considered
I tried modifying
draft_commit_description
, but this doesn't seem possible. jj adds these empty lines outside of itAdditional context
The text was updated successfully, but these errors were encountered: