# project: Compare WorktreePaths by pairing, not by path sets \(\#62144\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/20ce54f8e407d575cc2d873ffa1c09a08c2689f1)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 20ce54f8e407d575cc2d873ffa1c09a08c2689f1

Requested commit: 20ce54f8e407d575cc2d873ffa1c09a08c2689f1

Commit: 20ce54f8e407d575cc2d873ffa1c09a08c2689f1

Tree: 2c34d00ddb33ef41a3ddd9bc0bd222b4491b7493

Author: Ben Kunkle

Committer: GitHub

## Message

```
project: Compare WorktreePaths by pairing, not by path sets (#62144)

# Objective

- Prevent changed main/folder associations from being skipped during
thread metadata updates.

## Solution

- Compare WorktreePaths as ordered main/folder pairs.
- Keep PathList equality order-insensitive.

## Testing

- cargo test -p project test_worktree_paths_equality_compares_pairings

## Self-Review Checklist:

- [x] I have reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed UI standards
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

---

Release Notes:

- N/A
```

## Parents

- [4601ead4164ae56828bfd7d4566f918d4b337aaa](https://git.cafe/gitcafe/zed/commit/4601ead4164ae56828bfd7d4566f918d4b337aaa?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/20ce54f8e407d575cc2d873ffa1c09a08c2689f1?format=markdown)
