zed
zed copied to clipboard
expensive "git status" polling even with all git features disabled
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
I disabled all git related features, following
- https://github.com/zed-industries/zed/issues/13304
Unfortunately zed seems to poll a subprocess git --no-optional-locks status --porcelain=v1 --untracked-files=all -z .
that uses significant amounts of CPU.
Running git --no-optional-locks status --porcelain=v1 --untracked-files=all -z .
in the project root takes around 100ms, which is probably expected, since my repo is large. It would be nice to be able to just turn off git integration or ideally configure a polling frequency for polled (expensive) state?
Environment
Zed: v0.143.7 (Zed) OS: Linux Wayland debian unknown Memory: 31 GiB Architecture: x86_64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response