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

fix(actions.move): correctly rename open (dir) buffers #336

Merged
merged 3 commits into from
Nov 16, 2023
Merged

Conversation

fdschmidt93
Copy link
Member

@fdschmidt93 fdschmidt93 commented Nov 15, 2023

Wild that this bug is on master since initial commit.
I had this fixed on the tree branch (with a slight, unrelated bug).

Problem: open buffers are not correctly renamed when their parent(s) directories or the buffer itself is moved.
Solution: rename moved buffers

Add note on order sensitivity. Maybe we should not allow unpacking, but then we would have to recursively check whether any parent is included.

@fdschmidt93 fdschmidt93 changed the title fix(actions): correctly rename open (dir) buffers fix(actions.move): correctly rename open (dir) buffers Nov 15, 2023
Copy link
Collaborator

@jamestrew jamestrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!
yeah I can't believe no one ran into this (and reported it).

@jamestrew jamestrew merged commit f41675f into master Nov 16, 2023
@fdschmidt93 fdschmidt93 deleted the fix/move branch November 16, 2023 12:20
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