# project: Check path extension first, then worktree's \(\#29671\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 632f08d2a3b708c6baa8aa6b1bf53c482c3c3a6a

Requested commit: 632f08d2a3b708c6baa8aa6b1bf53c482c3c3a6a

Commit: 632f08d2a3b708c6baa8aa6b1bf53c482c3c3a6a

Tree: 6b18fd4d95fae5124704eac5e1ea02604fae5dce

Author: Oleksiy Syvokon

Committer: GitHub

## Message

```
project: Check path extension first, then worktree's (#29671)

This fixes a bug with opening images on worktrees that contain
"extension" in the dir name, like `zed.dev`


Release Notes:

- N/A
```

## Parents

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

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