Skip to content

remote_branches: skip nil entries in GetRemoteBranchListDisplayStrings#5572

Open
SAY-5 wants to merge 1 commit intojesseduffield:masterfrom
SAY-5:fix/remote-branch-nil-deref-5370
Open

remote_branches: skip nil entries in GetRemoteBranchListDisplayStrings#5572
SAY-5 wants to merge 1 commit intojesseduffield:masterfrom
SAY-5:fix/remote-branch-nil-deref-5370

Conversation

@SAY-5
Copy link
Copy Markdown

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

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

Closes jesseduffield#5370. Race between remote-list refresh leaves stale nil pointers; use FilterMap.
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