Skip to content

Conversation

@sashomasho
Copy link

Summary

  • Retrieves the commit message from HEAD before performing undo
  • Preloads the message into the commit popup after undoing
  • Improves UX by allowing easy re-committing with the same or modified message

Test plan

  • Perform a commit
  • Undo the last commit
  • Verify the commit message appears in the commit popup
  • Test that the message can be edited and re-committed
  • Test that closing the popup with Escape preserves the message

When undoing the last commit, the commit message is now automatically
retrieved and preloaded into the commit popup. This improves the user
experience by allowing easy re-committing with the same or modified message.
@extrawurst
Copy link
Collaborator

not 100% convinced we need that. the last commit msg is still in the Ctrl+N commit message buffer.

@sashomasho
Copy link
Author

I was unaware of the Ctrl+N message buffer feature. Since that fulfills my needs, this is no longer as critical as I initially thought. We can go ahead and close this.

@sashomasho sashomasho closed this Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants