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>
07af011eb4Lukas Wirth committed on 12/4/2025, 5:14:10 PM· committed by GitHubparentc357dc2
2 files changedLine totals unavailable