There was an error while loading. Please reload this page.
2 parents 8d449bf + 9f8465e commit 3f38385Copy full SHA for 3f38385
core/git_mixins/branches.py
@@ -71,7 +71,7 @@ def compute_branches_to_show(self, branch_name: str) -> list[str] | None:
71
if branch_name == "HEAD"
72
else b.canonical_name == branch_name
73
):
74
- if b.upstream:
+ if b.upstream and b.upstream.status != "gone":
75
return [b.canonical_name, b.upstream.canonical_name]
76
else:
77
return [b.canonical_name]
0 commit comments