Don't try to make project search and outline order match project panel (#20513)
A straight alphabetical order is arguably clearer, and avoids a large initial delay when searching large repos. Release Notes: - Fixed a long initial delay when performing a project search in a large repository.
This commit is contained in:
parent
97b542b22a
commit
149e5fde36
3 changed files with 3 additions and 63 deletions
|
@ -2280,7 +2280,6 @@ impl OutlinePanel {
|
|||
// For a proper git status propagation, we have to keep the entries sorted lexicographically.
|
||||
entries.sort_by(|a, b| a.path.as_ref().cmp(b.path.as_ref()));
|
||||
worktree_snapshot.propagate_git_statuses(&mut entries);
|
||||
project::sort_worktree_entries(&mut entries);
|
||||
(worktree_id, entries)
|
||||
})
|
||||
.flat_map(|(worktree_id, entries)| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue