# Add git blame error reporting with notification \(\#10408\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 29a50573a944dec9a83f7f0feb42c8678918af46

Requested commit: 29a50573a944dec9a83f7f0feb42c8678918af46

Commit: 29a50573a944dec9a83f7f0feb42c8678918af46

Tree: 23438d5dee7703c7f693f89c2c84c5d94579b3fe

Author: Mehmet Efe Akça

Committer: GitHub

## Message

```
Add git blame error reporting with notification (#10408)

<img width="1035" alt="Screenshot 2024-04-11 at 13 13 44"
src="https://github.com/zed-industries/zed/assets/13402668/cd0e96a0-41c6-4757-8840-97d15a75c511">

Release Notes:

- Added a notification to show possible `git blame` errors if it fails to run.

Caveats:
- ~git blame now executes in foreground
executor  (required since the Fut is !Send)~

TODOs:
- After a failed toggle, the app thinks the blame
is shown. This means toggling again will do nothing
instead of retrying. (Caused by editor.show_git_blame
being set to true before the git blame is generated)
- ~(Maybe) Trim error?~ Done

---------

Co-authored-by: Thorsten Ball <mrnugget@gmail.com>
```

## Parents

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

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