fix(canola-git): guard against deleted directories #35
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/canola-collection!35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/canola-git-deleted-dir"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Refocusing nvim after an external process deleted a directory caused
vim.systemto error with ENOENT inpopulate_cache.Solution
Check
vim.uv.fs_stat(dir)before spawning git processes.