1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-12-20 00:12:29 +02:00
Files
lazygit/pkg/gui/controllers/helpers/branches_helper.go
Stefan Haller 01b63a25ba Fix possible crash with auto-forwarding branches
I'm not aware of any real scenario where this can happen, but we have seen one
stack trace where it crashed with an out-of-bounds error in the range expression
below, so there must be a way. And it seems better to guard against it anyway,
rather than assuming it can't happen.
2025-05-21 08:21:38 +02:00

9.0 KiB