diff --git a/crates/project/src/worktree_store.rs b/crates/project/src/worktree_store.rs index 89aeeb76c0..2158480bcc 100644 --- a/crates/project/src/worktree_store.rs +++ b/crates/project/src/worktree_store.rs @@ -50,7 +50,7 @@ pub struct WorktreePaths { impl PartialEq for WorktreePaths { fn eq(&self, other: &Self) -> bool { - self.paths == other.paths && self.main_paths == other.main_paths + self.ordered_pairs().eq(other.ordered_pairs()) } }