Skip to content
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

FR: jj undo should print what operation is being undone #4431

Closed
rdamazio opened this issue Sep 10, 2024 · 1 comment · Fixed by #4445
Closed

FR: jj undo should print what operation is being undone #4431

rdamazio opened this issue Sep 10, 2024 · 1 comment · Fixed by #4445
Labels
good first issue Good for newcomers polish🪒🐃 Make existing features more convenient and more consistent

Comments

@rdamazio
Copy link

Is your feature request related to a problem? Please describe.
When you run jj undo, it prints the new commit and parent, but doesn't tell me what was undone.
This requires going back and forth between undo and op log which is inconvenient.

Describe the solution you'd like
It should print what operation is being undone (e.g. "workspace snapshot triggered by jj st", "jj rebase", "workspace snapshot + jj rebase", etc.)

Describe alternatives you've considered
Running jj op log and keeping the result open to understand what's happening, re-running it periodically if there's many operations to undo.

@rdamazio rdamazio added good first issue Good for newcomers polish🪒🐃 Make existing features more convenient and more consistent labels Sep 10, 2024
@PhilipMetzger
Copy link
Contributor

PhilipMetzger commented Sep 10, 2024

this also belongs to #3700, as printing jj op undo twice is useless.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers polish🪒🐃 Make existing features more convenient and more consistent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants