Compute git statuses using the bundled git executable, not libgit2 (#12444)

I realized that somehow, the `git` executable is able to compute `git
status` much more quickly than libgit2, so I've switched our git status
logic to use `git`. Follow-up to
https://github.com/zed-industries/zed/pull/12266.

Release Notes:

- Improved the performance of git status updated when working in large
git repositories.
This commit is contained in:
Max Brunsfeld 2024-05-29 14:31:24 -07:00 committed by GitHub
parent 6294a3b80b
commit dd328efaa7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 222 additions and 249 deletions

View file

@ -15,6 +15,7 @@ pub mod blame;
pub mod commit;
pub mod diff;
pub mod repository;
pub mod status;
lazy_static! {
pub static ref DOT_GIT: &'static OsStr = OsStr::new(".git");