# branch_list: Ensure index is within list bounds\. \(\#2724\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c466711cd174a6fb9aec927dc32d06ecba98ec80

Requested commit: c466711cd174a6fb9aec927dc32d06ecba98ec80

Commit: c466711cd174a6fb9aec927dc32d06ecba98ec80

Tree: 0a4ae23412068f305ac962e3732d95fbf6e65246

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
branch_list: Ensure index is within list bounds. (#2724)

Z-2630


Release Notes:
- Fixed a crash in branch list that occurred when confirming a match in
empty list.
```

## Parents

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

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

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