Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix pathspec in staged_statuses
Max Brunsfeld8fff0b0ff8ad
diff --git a/crates/fs/src/repository.rs b/crates/fs/src/repository.rsindex f4678d933f2..2b2aebe6795 100644--- a/crates/fs/src/repository.rs+++ b/crates/fs/src/repository.rs@@ -100,7 +100,6 @@ impl GitRepository for LibGitRepository {let mut options = git2::StatusOptions::new();options.pathspec(path_prefix);- options.disable_pathspec_match(true);options.show(StatusShow::Index);if let Some(statuses) = self.statuses(Some(&mut options)).log_err() {