# Fix duplicated multi-buffer excerpts \(\#29193\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3357736aea3ccab3ffd7da9dc6e6621eaf31ffb0

Requested commit: 3357736aea3ccab3ffd7da9dc6e6621eaf31ffb0

Commit: 3357736aea3ccab3ffd7da9dc6e6621eaf31ffb0

Tree: 1f8533a507a7423b2c731f47b6701e64589edc5b

Author: Conrad Irwin

Committer: GitHub

## Message

```
Fix duplicated multi-buffer excerpts (#29193)

- **add test case**
- **Merge excerpts more aggressively**
- **Randomized test for set_excerpts_for_path**

Closes #ISSUE

Release Notes:

- Fixed duplicted excerpts (and resulting panics)

---------

Co-authored-by: João Marcos <marcospb19@hotmail.com>
```

## Parents

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

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