fix(canola-git): guard against deleted directories #35

Merged
barrettruth merged 1 commit from fix/canola-git-deleted-dir into main 2026-03-22 02:12:51 +00:00
barrettruth commented 2026-03-22 02:09:07 +00:00

Problem

Refocusing nvim after an external process deleted a directory caused
vim.system to error with ENOENT in populate_cache.

Solution

Check vim.uv.fs_stat(dir) before spawning git processes.

## Problem Refocusing nvim after an external process deleted a directory caused `vim.system` to error with ENOENT in `populate_cache`. ## Solution Check `vim.uv.fs_stat(dir)` before spawning git processes.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/canola-collection!35
No description provided.