@@ -48,7 +48,7 @@ export class StatusNode extends ExplorerNode {
4848 return this . children ;
4949 }
5050
51- async getTreeItem ( ) : Promise < TreeItem > {
51+ async getTreeItem ( ) : Promise < TreeItem > {
5252 if ( this . disposable !== undefined ) {
5353 this . disposable . dispose ( ) ;
5454 this . disposable = undefined ;
@@ -69,13 +69,13 @@ export class StatusNode extends ExplorerNode {
6969
7070 let hasChildren = false ;
7171 const hasWorkingChanges = status . files . length !== 0 && this . includeWorkingTree ;
72- let label = `${ status . getUpstreamStatus ( { prefix : `${ GlyphChars . Space } ` } ) } ${ hasWorkingChanges ? status . getDiffStatus ( { prefix : `${ GlyphChars . Space } ` } ) : '' } ` ;
72+ let label = `${ status . getUpstreamStatus ( { prefix : `${ GlyphChars . Space } ` } ) } ${ hasWorkingChanges ? status . getDiffStatus ( { prefix : `${ GlyphChars . Space } ` } ) : '' } ` ;
7373 let tooltip = `${ status . branch } (current)` ;
7474 let iconSuffix = '' ;
7575
7676 if ( status . upstream ) {
7777 if ( this . explorer . config . showTrackingBranch ) {
78- label += `${ GlyphChars . Space } ${ status . upstream } ` ;
78+ label += `${ GlyphChars . Space } ${ GlyphChars . ArrowLeftRightLong } ${ GlyphChars . Space } ${ status . upstream } ` ;
7979 }
8080 tooltip += `\n\nTracking ${ GlyphChars . Dash } ${ status . upstream } \n${ status . getUpstreamStatus ( { empty : 'up-to-date' , expand : true , separator : '\n' } ) } ` ;
8181
@@ -105,7 +105,7 @@ export class StatusNode extends ExplorerNode {
105105 state = TreeItemCollapsibleState . None ;
106106 }
107107
108- const item = new TreeItem ( label , state ) ;
108+ const item = new TreeItem ( ` ${ status . branch } ${ label } ` , state ) ;
109109 item . id = this . id ;
110110 item . contextValue = ResourceType . Status ;
111111 item . tooltip = tooltip ;
0 commit comments