-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
draft_commit_description template does not show branches on current change #4216
Comments
@yuja: For I think the other commands ( |
The easiest workaround I think is to add
For |
#3402 might also help. If topic is implemented as a commit metadata, it will be copied to a temporary commit. On |
It seems even easier to create a temporary transaction that we then discard. Then we can move the branch in that transaction. Would that not work? |
It will probably work, but I assume it would require more code duplicates. We'll basically need to run the same code path twice to get slightly different outcomes. I just meant a template keyword is easy to implement, not easy for use. |
Description
I'd like to show branches pointing at the current change in the draft commit description template. The following template:
shows only
Branches pointing to this commit:
with no branches listed, even when there are branches pointing at the current revision.Steps to Reproduce the Problem
draft_commit_description
template to the above valuejj branch create test
jj describe
Expected Behavior
The draft description message should show:
Actual Behavior
The draft description message shows:
Specifications
@martinvonz gave some context on Discord:
The text was updated successfully, but these errors were encountered: