# worktree: Fix git ignored directories dropping their contents when they are refreshed \(\#44143\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 07af011eb447a1b8afc2ad490a77da33fa76fb33

Requested commit: 07af011eb447a1b8afc2ad490a77da33fa76fb33

Commit: 07af011eb447a1b8afc2ad490a77da33fa76fb33

Tree: 276c1b8df00eca0d3013dc06858d0e665abf8c9d

Author: Lukas Wirth

Committer: GitHub

## Message

```
worktree: Fix git ignored directories dropping their contents when they are refreshed (#44143)

Closes https://github.com/zed-industries/zed/issues/38653

Release Notes:

- Fixed git ignored directories appearing as empty when their content
changes on windows

Co-authored by: Smit Barmase <smit@zed.dev>
```

## Parents

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

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