vscode-pull-request-github icon indicating copy to clipboard operation
vscode-pull-request-github copied to clipboard

Remote branches is not updated in "Merge changes from" branch dropdown

Open hornta opened this issue 2 years ago • 1 comments

Whenever I push a branch to my remote on GitHub I expect it to be present in the list of branches when I'm about to make a PR, but it never comes up in the list.

I have to press "Cancel" in the panel and then reopen it for it to show. Also it takes too long time to load the branches from the remote so that's something to be looked at as well.

Maybe a refresh icon so I can reload the branches?

image

hornta avatar Jun 03 '22 10:06 hornta

I can repro by doing the following:

  1. Checkout my main branch.
  2. "Create Pull Request"
  3. Open another view container so that the "Create a Pr" view is hidden.
  4. Checkout my topic branch.
  5. Re-open the "Create a PR" view by clicking on the activity bar icon.

Adding a refresh button is a reasonable solution for this.

alexr00 avatar Jun 03 '22 14:06 alexr00

Duplicate of https://github.com/microsoft/vscode-pull-request-github/issues/3357

alexr00 avatar Dec 15 '22 14:12 alexr00