# Merge excerpts in project diff \(\#26739\) · gitcafe/zed

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

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

Visibility: public

Requested revision: a4a9f6bd079746c5112948cbfdf9e5ce98c0ed29

Requested commit: a4a9f6bd079746c5112948cbfdf9e5ce98c0ed29

Commit: a4a9f6bd079746c5112948cbfdf9e5ce98c0ed29

Tree: a8eb1bfa658b18a3d77baa19d0994d14d76d8f76

Author: Conrad Irwin

Committer: GitHub

## Message

```
Merge excerpts in project diff (#26739)

This adds code to merge excerpts when you expand them and they would
overlap. It is only enabled for callers who use the
`set_excerpts_for_path` API for multibuffers (which is currently just
project diff), as other users of multibuffer care too much about the
exact excerpts that they have.

Release Notes:

- N/A
```

## Parents

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

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