# git_ui: Introduce explicit yield points for project diff \(\#43706\) · gitcafe/zed

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

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

Visibility: public

Requested revision: fc213f1c26ed65410214f6678600a84090eb6a8f

Requested commit: fc213f1c26ed65410214f6678600a84090eb6a8f

Commit: fc213f1c26ed65410214f6678600a84090eb6a8f

Tree: b0e917d52ca88ded975e788199664cef3c344c95

Author: Lukas Wirth

Committer: GitHub

## Message

```
git_ui: Introduce explicit yield points for project diff (#43706)

These are long running foreground tasks that tend to not have pending
await points, meaning once we start executing them they will never
reschedule themselves, starving the foreground thread.

Release Notes:

- Improved git project diff responsiveness
```

## Parents

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

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