# Revert "git: Mark entries as pending when staging a files making the staged highlighting more "optimistic"" \(\#45175\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9073a2666c953a96f02b82b3539c04709726f7ab

Requested commit: 9073a2666c953a96f02b82b3539c04709726f7ab

Commit: 9073a2666c953a96f02b82b3539c04709726f7ab

Tree: 3765417f594e587ce40b775403f1a216bb8b0f82

Author: Cole Miller

Committer: GitHub

## Message

```
Revert "git: Mark entries as pending when staging a files making the staged highlighting more "optimistic"" (#45175)

Reverts zed-industries/zed#43434

This caused a regression because the additional pending hunks don't get
cleared.
```

## Parents

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

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