mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 19:18:59 +01:00
Git - fix remote reference id (#228164)
* Git - fix remote reference id * Remove unnecessary code
This commit is contained in:
@@ -16,7 +16,7 @@ function toSourceControlHistoryItemRef(ref: Ref): SourceControlHistoryItemRef {
|
||||
switch (ref.type) {
|
||||
case RefType.RemoteHead:
|
||||
return {
|
||||
id: `refs/remotes/${ref.remote}/${ref.name}`,
|
||||
id: `refs/remotes/${ref.name}`,
|
||||
name: ref.name ?? '',
|
||||
description: ref.commit ? l10n.t('Remote branch at {0}', ref.commit.substring(0, 8)) : undefined,
|
||||
revision: ref.commit,
|
||||
|
||||
Reference in New Issue
Block a user