# Regenerate git blame info when buffer's dirty bit changed \(\#10670\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 2c78cf349b94d69a4b027400d9d388992a4e4517

Requested commit: 2c78cf349b94d69a4b027400d9d388992a4e4517

Commit: 2c78cf349b94d69a4b027400d9d388992a4e4517

Tree: 7805d1335a1b232cd5dc5fec7dd45352eb20ff0c

Author: Thorsten Ball

Committer: GitHub

## Message

```
Regenerate git blame info when buffer's dirty bit changed (#10670)

This fixes the https://github.com/zed-industries/zed/issues/10583 by
regenerating the blame information after the
buffer is edited. It uses a debounce of 2seconds. Meaning that undone
deletions show up again after 2secs.

Release Notes:

- Fixed `git blame` data not handling the undoing of deletions
correctly.
([#10583](https://github.com/zed-industries/zed/issues/10583)).
```

## Parents

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

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