# Fix rejecting multiple hunks in \`AgentDiff\` \(\#28806\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 06ad45ce08a09fef227f4a367970133d35c91822

Requested commit: 06ad45ce08a09fef227f4a367970133d35c91822

Commit: 06ad45ce08a09fef227f4a367970133d35c91822

Tree: e99d95de4e8061846c73ccf1285d6c70d1b08097

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Fix rejecting multiple hunks in `AgentDiff` (#28806)

Release Notes:

- Fixed a bug that caused `Reject All` to not always reject _all_ the
hunks.

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
```

## Parents

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

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