# git: Revert skipping of events for the \`\.git\` directory itself \(\#54443\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 57d9e1f441c967c48216ec1f7422ccfbc7bc6cb3

Requested commit: 57d9e1f441c967c48216ec1f7422ccfbc7bc6cb3

Commit: 57d9e1f441c967c48216ec1f7422ccfbc7bc6cb3

Tree: cf103d942292d69b7611b0354affef52e49d6bbe

Author: Cole Miller

Committer: GitHub

## Message

```
git: Revert skipping of events for the `.git` directory itself (#54443)

This reverts #54329 and the part of #52499 that was an earlier attempt
at the same thing, which caused us to incorrectly miss git state updates
on Windows. cc @Veykril it seems like we need to find a different way to
fix the problem of `.git` scanning cycles.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- Fixed a bug causing stale git state on Windows.
```

## Parents

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

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