Ignore history items' paths when matching search queries

This commit is contained in:
Kirill Bulatov 2023-10-09 18:54:57 +03:00
parent 9f32a6e209
commit 9cba45910e
3 changed files with 126 additions and 9 deletions

View file

@ -441,7 +441,7 @@ mod tests {
score,
worktree_id: 0,
positions: Vec::new(),
path: candidate.path.clone(),
path: Arc::from(candidate.path),
path_prefix: "".into(),
distance_to_relative_ancestor: usize::MAX,
},