project: Fix include filters being ignored for non-ASCII search in multi-worktree projects (#60538)
`SearchQuery::text()` drops the `match_full_paths` parameter when falling back to `escaped_regex` for non-ASCII queries, causing include filters to match against wrong path formats in multi-worktree projects. search works correctly after the fix <img width="1465" height="329" alt="截屏2026-07-07 21 32 34" src="https://github.com/user-attachments/assets/039640e6-22ae-4eb5-a9da-909fd8498b77" /> Fixes #60513 --- Release Notes: - Fixed project search with non-ASCII queries incorrectly ignoring include filters in multi-worktree projects.
This commit is contained in:
1 parent
4223c7472f
commit
932ea5a75b
1 file changed
+1
-1
@@ -118,7 +118,7 @@ impl SearchQuery {
|
||||
include_ignored,
|
||||
files_to_include,
|
||||
files_to_exclude,
|
||||
false,
|
||||
match_full_paths,
|
||||
buffers,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user