mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Fix pathspec in staged_statuses
Enable non-literal matching so that directory paths match all files contained within them.
This commit is contained in:
parent
a3a9d024ba
commit
8fff0b0ff8
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user