gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Older local commits keep their "Undo" buttons.

Open daniilS opened this issue 10 months ago • 1 comments

When creating a local commit while the "Local" panel is open, the previous local commits keep their "Undo" buttons until the "Local" panel is closed and reopened. Clicking any of these buttons instead undoes the most recent commit.

Conversely, undoing a local commit doesn't add an "Undo" button to the previous local commit until the "Local" panel is closed and reopened.

Example: image

daniilS avatar Apr 16 '24 13:04 daniilS

@schacon op:tonkatsu will ultimately fix this regardless of it being a bug currently, correct?

Qix- avatar Apr 30 '24 10:04 Qix-

Hey @daniilS - this should be now double fixed. We made the button show only on correct commits, and the app now supports undoing any commits in the stack. If you dont mind I will close this issue as resolved. If you feel I may have missed something, feel free to ping or create a new one.

krlvi avatar Jun 11 '24 09:06 krlvi