Skip to content

buffer: Store potential resolved symlinks as AbsPath#3997

Open
JoeKar wants to merge 2 commits intomicro-editor:masterfrom
JoeKar:fix/symlinks
Open

buffer: Store potential resolved symlinks as AbsPath#3997
JoeKar wants to merge 2 commits intomicro-editor:masterfrom
JoeKar:fix/symlinks

Conversation

@JoeKar
Copy link
Member

@JoeKar JoeKar commented Feb 5, 2026

This will help us to keep track of the same file opened via different symlinks.

Fixes #3995

Otherwise we can't identify if we have the same file open multiple times via
different symlinks.
Additionally this will also store the buffer backup and serialized buffer for
the same target file just once.
Otherwise it will be removed async, which shouldn't happen in case there is
still one buffer open with the same modified file.
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.

Different saveundo buffers for symlinked files

1 participant