Skip to content

fix(show-refs): skip remote-tracking refs without a configured remote - #558

Open
SAY-5 wants to merge 1 commit into
altsem:masterfrom
SAY-5:fix-show-refs-remote-lookup
Open

SAY-5 wants to merge 1 commit into
altsem:masterfrom
SAY-5:fix-show-refs-remote-lookup

Conversation

@SAY-5

@SAY-5 SAY-5 commented Aug 25, 2026

Copy link
Copy Markdown

Opening Show Refs panics with Couldn't create screen: GetRemote(...) when a remote-tracking ref exists whose remote cannot be determined, e.g. a leftover refs/remotes/conflict-upstream/main from a conflicted rebase. create_remotes_sections propagated the branch_remote_name error and aborted the whole screen. Now such refs are skipped so the rest of the refs still render.

Fixes #556.

Checklist

Signed-off-by: Sai Asish Y <say.apm35@gmail.com>

This branch has not been deployed

No deployments
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.

Couldn't create screen: GetRemote(Error { code: -3, klass: 4, message: "could not determine remote for 'refs/remotes/conflict-upstream/main'" })

1 participant