# Show both local and remote checkouts in Recent Projects \(\#53953\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2838ea3f59458fc550d844e78fb4fec8eaf39fa3

Requested commit: 2838ea3f59458fc550d844e78fb4fec8eaf39fa3

Commit: 2838ea3f59458fc550d844e78fb4fec8eaf39fa3

Tree: 62182b5d09b3a14ff2a97b03669d7ab97babb678

Author: Hamza Paracha

Committer: GitHub

## Message

```
Show both local and remote checkouts in Recent Projects (#53953)

This fixes #53917.

Recent Projects was treating local and remote workspaces as the same
entry whenever they resolved to the same checkout path. That meant one
could hide the other, and if one of them was already open, the picker
could end up hiding both.

This change keeps the deduplication and picker filtering keyed on both
the workspace location and the path list, so local and remote copies of
the same repo can both appear when they should.

## Test plan
- `rustfmt --edition 2024 crates/recent_projects/src/recent_projects.rs
crates/workspace/src/persistence.rs`
- `git diff --check -- crates/recent_projects/src/recent_projects.rs
crates/workspace/src/persistence.rs`

Release Notes:

- Fixed Recent Projects hiding either the local or remote workspace when
both used the same checkout path.

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
```

## Parents

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

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