# file_finder: Fix project root appearing in file paths while searching when hide_root=true \(\#51530\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b0fd10134f27690d449fad18323f6da299b3db31

Requested commit: b0fd10134f27690d449fad18323f6da299b3db31

Commit: b0fd10134f27690d449fad18323f6da299b3db31

Tree: fe600fe8b202ea19b492f4483a33ca5c99a45a8c

Author: Giorgi Merebashvili

Committer: GitHub

## Message

```
file_finder: Fix project root appearing in file paths while searching when hide_root=true (#51530)

Closes #45135

Before you mark this PR as ready for review, make sure that you have:
- [x] Added a solid test coverage and/or screenshots from doing manual
testing
- [x] Done a self-review taking into account security and performance
aspects
- [x] Aligned any UI changes with the [UI
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)

Release Notes:

- Fixed project root name appearing in file paths while searching in
file finder.
```

## Parents

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

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