# git: Fix a panic when updating the split diff \(\#54352\) · gitcafe/zed

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

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

Visibility: public

Requested revision: b8bec905def6c90b67579b508de40a51252630ae

Requested commit: b8bec905def6c90b67579b508de40a51252630ae

Commit: b8bec905def6c90b67579b508de40a51252630ae

Tree: 33991587e786e8d5b873689a6276c6da7382b4b4

Author: Cole Miller

Committer: GitHub

## Message

```
git: Fix a panic when updating the split diff (#54352)

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [ ] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- Fixed a panic when using the split diff view.
```

## Parents

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

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