You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Can't check out collaborator PR when on contributor branch #4056
I was adding some commits to #4042 which is a contributor (i.e. external/fork) PR. Checking out the branch worked as expected but now I'm stuck and can't switch to a collaborator (i.e. origin) PR.
Notice how it's fetching the contributor fork when it should be fetching origin.
This is the (pruned) log output from when I click on the origin PR. Notice how it fetches the wrong remote and how it never checks out the branch.
Since I haven't fetched origin since the PR was created I don't have the #4052 branch locally so my theory is that we fail (gracefully) because of that.
Activity