Fix pathspec in staged_statuses

Max Brunsfeld created

Enable non-literal matching so that directory paths match
all files contained within them.

Change summary

crates/fs/src/repository.rs | 1 -
1 file changed, 1 deletion(-)

Detailed changes

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() {