# git: Fix partially-staged paths not being accurately rendered \(\#44837\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 870159e7e8e633db3ff83725ed0c13e99400dde2

Requested commit: 870159e7e8e633db3ff83725ed0c13e99400dde2

Commit: 870159e7e8e633db3ff83725ed0c13e99400dde2

Tree: 186735097bd34883546a32769ff0c92e03716445

Author: Cole Miller

Committer: GitHub

## Message

```
git: Fix partially-staged paths not being accurately rendered (#44837)

Updates #44089 

- Restores the ability to have a partially staged/`Indeterminate` status
for the git panel checkboxes
- Removes the `optimistic_staging` logic, since its stated purpose is
served by the `PendingOps` system in the `GitStore` (which may have
bugs, but we should fix them in the git store rather than adding another
layer)

Release Notes:

- Fixed partially-staged files not being represented accurately in the
git panel.

---------

Co-authored-by: Anthony Eid <hello@anthonyeid.me>
```

## Parents

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

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