Skip to content

fix(explorer): reload buffers of restored files - #589

Open
SAY-5 wants to merge 1 commit into
esmuellert:mainfrom
SAY-5:fix/reload-restored-buffers
Open

SAY-5 wants to merge 1 commit into
esmuellert:mainfrom
SAY-5:fix/reload-restored-buffers

Conversation

@SAY-5

@SAY-5 SAY-5 commented Nov 19, 2026

Copy link
Copy Markdown

Closes #564

Restoring a file or directory from the explorer rewrites it through git, but only buffers shown in the diff panes get a checktime from the refresh, so a buffer for that file open in another tab kept the old text until a manual :checktime. After a successful restore, both the file and directory branches now run a buffer-scoped checktime on clean loaded buffers under the restored path, and the new staging spec case fails without the change.

Signed-off-by: Sai Asish Y <say.apm35@gmail.com>
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.

Bug: buffer not refreshed after discarding entire file

1 participant