mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-19 23:20:18 +01:00
fae4b2ea4f
## Summary Closes #58773 While working on this, I noticed that project grouping and workspace lookup used different connection comparisons. I unified them around the existing `RemoteConnectionIdentity`. I also simplified the relevant code, removing redundant lookup and comparison helpers and borrowing values instead of cloning them when the caller only needs to read the data. ## Testing Added corresponding test coverage ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [x] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [x] Tests cover the new or changed behavior. Release Notes: - Fixed local files opening as empty buffers in remote workspaces. --------- Co-authored-by: Kirill Bulatov <kirill@zed.dev>