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

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

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

Visibility: public

Requested revision: 74b4013e67ce1a11497806300ca886ba4231ef15

Requested commit: 74b4013e67ce1a11497806300ca886ba4231ef15

Commit: 74b4013e67ce1a11497806300ca886ba4231ef15

Tree: 8e3e246504ca2ed7ffe48dd7ad0ddc7db842f126

Author: Ramon

Committer: GitHub

## Message

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

This at least speeds it up, not sure if this would close the issue

On main (342eba6f220625c015d00334c6bc354f0e2c52e1):


https://github.com/user-attachments/assets/55d10187-b4e6-410d-9002-06509e8015c9


This branch:


https://github.com/user-attachments/assets/e9a5c14f-9694-4321-a81c-88d6f62fb342


Closes #26870

Release Notes:

- Added optimistic staged hunk updating
```

## Parents

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

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