Commit 9c72719
Associate branch with PR metadata even when branch is already checked out
When a user is already on the same branch as a PR and clicks "check out PR",
fetchAndCheckout returns early without calling associateBranchWithPullRequest.
This causes the review manager to report "No matching pull request metadata
found" and the PR comments/review UI never loads.
Fix: call associateBranchWithPullRequest before the early return.
Agent-Logs-Url: https://github.com/microsoft/vscode-pull-request-github/sessions/a73abfa2-1150-43fb-a262-a3a0d34a19c3
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>1 parent ccc8b33 commit 9c72719
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
| 128 | + | |
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| |||
0 commit comments