gitHistoryVSCode icon indicating copy to clipboard operation
gitHistoryVSCode copied to clipboard

[BUG] fetchurl not found msg when using a set-upstream-to local branch

Open rlk833 opened this issue 2 years ago • 0 comments

Describe the Bug

I like to do long term development locally on a side branch from master that I never push up. I just work locally, with regular rebasing from master. Then eventually merging back into master when I want to have it released.

I do this by checking out master to a new local branch and then do git branch --set-upstream-to master When I do this, I can just do a standard Pull on the local branch and it rebases in the changes from master.

Problem is the Git History view pops a warning message every time I refresh it. The message is Cannot read property 'fetchUrl' of undefined. I have to close it every time, very annoying.

Steps To Reproduce

  1. Checkout a new local branch off of master (make sure you have "rebase" turned on for pull merges)
  2. From cmd line do git branch --set-upstream-to master
  3. Open Git History
  4. Hit Refresh

Expected Behavior

Not get the message

Environment

  • OS: Mac 11.6.2
  • VSCode version: 1.63.2
  • Git History version: 0.16.9

rlk833 avatar Jan 24 '22 21:01 rlk833