# Fix a bug causing stale optimistic state in the git panel \(\#28588\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 66b3e03baaa660d4ace61e76f65967a4f1ad3fad

Requested commit: 66b3e03baaa660d4ace61e76f65967a4f1ad3fad

Commit: 66b3e03baaa660d4ace61e76f65967a4f1ad3fad

Tree: 1530d25feedecf6df40c261365834249d2a2e33a

Author: Cole Miller

Committer: GitHub

## Message

```
Fix a bug causing stale optimistic state in the git panel (#28588)

Release Notes:

- Fixed a bug that caused the staged status of files in the git panel to
be out of date in some cases.
```

## Parents

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

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