Browse Source

Fixes context ref for remote branches

main
Eric Amodio 2 years ago
parent
commit
761dddad26
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/env/node/git/localGitProvider.ts

+ 2
- 2
src/env/node/git/localGitProvider.ts View File

@ -1828,9 +1828,9 @@ export class LocalGitProvider implements GitProvider, Disposable {
webviewItem: 'gitlens:branch+remote', webviewItem: 'gitlens:branch+remote',
webviewItemValue: { webviewItemValue: {
type: 'branch', type: 'branch',
ref: GitReference.create(branchName, repoPath, {
ref: GitReference.create(tip, repoPath, {
refType: 'branch', refType: 'branch',
name: branchName,
name: tip,
remote: true, remote: true,
upstream: { name: remote.name, missing: false }, upstream: { name: remote.name, missing: false },
}), }),

Loading…
Cancel
Save