worktree: Fix `.git` modified events not being correctly filtered out (#54329)

Release Notes:

- N/A or Added/Fixed/Improved ...

Co-authored by: Cole Miller <cole@zed.dev>
0ba60d8a44Lukas Wirth committed on 4/20/2026, 3:49:25 PM· committed by GitHubparent17026b1
2 files changedLine totals unavailable