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

workspace: Prevent user from undoing persistent session deserialization #25106

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

osiewicz
Copy link
Contributor

Closes #21846

Release Notes:

  • Fixed a bug that made it possible to undo changes in dirty deserialized buffer (with restore_unsaved_buffers: true)

@cla-bot cla-bot bot added the cla-signed The user has signed the Contributor License Agreement label Feb 18, 2025
@osiewicz osiewicz enabled auto-merge (squash) February 18, 2025 19:35
@osiewicz osiewicz merged commit f606b06 into main Feb 18, 2025
12 checks passed
@osiewicz osiewicz deleted the clear-undo-stack-on-deserialized-buffers branch February 18, 2025 19:49
osiewicz added a commit to RemcoSmitsDev/zed that referenced this pull request Feb 19, 2025
…on (zed-industries#25106)

Closes zed-industries#21846

Release Notes:

- Fixed a bug that made it possible to undo changes in dirty
deserialized buffer (with `restore_unsaved_buffers: true`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed The user has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Restored unsaved buffer is erased by Undo
1 participant