# fs: Fix \`RealFs::open_handle\` implementation for directories on windows \(\#40639\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1b43a632dc488a62c0ccc87316b118468f701bb0

Requested commit: 1b43a632dc488a62c0ccc87316b118468f701bb0

Commit: 1b43a632dc488a62c0ccc87316b118468f701bb0

Tree: 6c6cf0216975c6b2338d2104c9f075740feeace5

Author: Lukas Wirth

Committer: GitHub

## Message

```
fs: Fix `RealFs::open_handle` implementation for directories on windows (#40639)

Release Notes:

- Fixed worktree names not updating when renaming the root folder on
windows
```

## Parents

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

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