Skip to content

Commit 5e1893f

Browse files
authored
Git - fix background color for base reference (#278532)
1 parent 232e5a9 commit 5e1893f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

extensions/git/src/historyProvider.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,9 @@ export class GitHistoryProvider implements SourceControlHistoryProvider, FileDec
526526
icon: new ThemeIcon('cloud'),
527527
backgroundColor: ref === this.currentHistoryItemRemoteRef?.id
528528
? `--vscode-scmGraph-historyItemRemoteRefColor`
529-
: undefined
529+
: ref === this.currentHistoryItemBaseRef?.id
530+
? `--vscode-scmGraph-historyItemBaseRefColor`
531+
: undefined
530532
});
531533
break;
532534
case ref.startsWith('tag: refs/tags/'):

0 commit comments

Comments
 (0)