mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-03 08:54:04 +00: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
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue