# Fix selections when opening excerpt with an existing buffer that has expanded diff hunks \(\#44360\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 7691cf341c59b0b58db0b78e0798d0a4c6a64c98

Requested commit: 7691cf341c59b0b58db0b78e0798d0a4c6a64c98

Commit: 7691cf341c59b0b58db0b78e0798d0a4c6a64c98

Tree: f988d3678f8981b30c93f17d5261ff573472cb60

Author: Cole Miller

Committer: GitHub

## Message

```
Fix selections when opening excerpt with an existing buffer that has expanded diff hunks (#44360)

Release Notes:

- N/A
```

## Parents

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

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