Skip to content

remote_branches: skip nil entries in GetRemoteBranchListDisplayStrings#5572

Open
SAY-5 wants to merge 6 commits into
jesseduffield:masterfrom
SAY-5:fix/remote-branch-nil-deref-5370
Open

remote_branches: skip nil entries in GetRemoteBranchListDisplayStrings#5572
SAY-5 wants to merge 6 commits into
jesseduffield:masterfrom
SAY-5:fix/remote-branch-nil-deref-5370

Conversation

@SAY-5

@SAY-5 SAY-5 commented May 2, 2026

Copy link
Copy Markdown

Closes #5370. Race between remote-list refresh leaves stale nil pointers in the slice; switch to lo.FilterMap and drop nils.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Nil pointer panic in GetRemoteBranchListDisplayStrings

1 participant