|
|
@ -1286,12 +1286,13 @@ export class GitHubGitProvider implements GitProvider, Disposable { |
|
|
|
name: headBranch.name, |
|
|
|
isCurrentHead: true, |
|
|
|
context: serializeWebviewItemContext<GraphItemRefContext>(context), |
|
|
|
upstream: headBranch.upstream != null |
|
|
|
? { |
|
|
|
name: headBranch.upstream.name, |
|
|
|
id: getBranchId(repoPath, true, headBranch.upstream.name), |
|
|
|
} |
|
|
|
: undefined, |
|
|
|
upstream: |
|
|
|
headBranch.upstream != null |
|
|
|
? { |
|
|
|
name: headBranch.upstream.name, |
|
|
|
id: getBranchId(repoPath, true, headBranch.upstream.name), |
|
|
|
} |
|
|
|
: undefined, |
|
|
|
}, |
|
|
|
]; |
|
|
|
|
|
|
|