# Handle empty diff excerpts \(\#24168\) · gitcafe/zed

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

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

Visibility: public

Requested revision: cf4539ec791cbcfcc8dc3b4af29aba9a30975319

Requested commit: cf4539ec791cbcfcc8dc3b4af29aba9a30975319

Commit: cf4539ec791cbcfcc8dc3b4af29aba9a30975319

Tree: 4066cd31e8a7b60aa80a5ea46dc5854f74ba5f35

Author: Conrad Irwin

Committer: GitHub

## Message

```
Handle empty diff excerpts (#24168)

Release Notes:

- Fix display, revert and undo of deleted hunks when the file is empty.
```

## Parents

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

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