# project: Explicitly scan on git reset and fetch \(\#60590\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9902238fe0d643cf7b4b0d054425605e1808976d

Requested commit: 9902238fe0d643cf7b4b0d054425605e1808976d

Commit: 9902238fe0d643cf7b4b0d054425605e1808976d

Tree: 80415c72bee690315527da501de087d006f99a23

Author: Neel

Committer: GitHub

## Message

```
project: Explicitly scan on git reset and fetch (#60590)

This PR fixes a bug where uncomitting would not reflect changes in the
git panel, and fetching would not update the upstream ahead/behind
counts in the git panel. This was especially evident on Linux which has
non-recursive watches.

---

Release Notes:

- Fixed changes not appearing in the git panel after uncommitting
- Fixed the git panel not updating ahead/behind counts after a fetch
```

## Parents

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

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