mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 03:29:00 +01:00
Git - fix data shape issue for the merge base (#242544)
This commit is contained in:
@@ -163,7 +163,7 @@ export class GitHistoryProvider implements SourceControlHistoryProvider, FileDec
|
||||
// Compute base if the branch has changed
|
||||
const mergeBase = await this.resolveHEADMergeBase();
|
||||
|
||||
this._currentHistoryItemBaseRef = mergeBase &&
|
||||
this._currentHistoryItemBaseRef = mergeBase && mergeBase.name && mergeBase.remote &&
|
||||
(mergeBase.remote !== this.repository.HEAD.upstream?.remote ||
|
||||
mergeBase.name !== this.repository.HEAD.upstream?.name) ? {
|
||||
id: `refs/remotes/${mergeBase.remote}/${mergeBase.name}`,
|
||||
|
||||
Reference in New Issue
Block a user