@@ -20,22 +20,18 @@ export abstract class RepositoryFolderNode<
2020 TView extends View = View ,
2121 TChild extends ViewNode = ViewNode ,
2222> extends SubscribeableViewNode < 'repo-folder' , TView > {
23- protected override splatted = true ;
24-
2523 constructor (
2624 uri : GitUri ,
2725 view : TView ,
2826 protected override readonly parent : ViewNode ,
29- public readonly repo : Repository ,
3027 splatted : boolean ,
28+ public readonly repo : Repository ,
3129 private readonly options ?: { showBranchAndLastFetched ?: boolean } ,
3230 ) {
33- super ( 'repo-folder' , uri , view , parent ) ;
31+ super ( 'repo-folder' , uri , view , parent , splatted ) ;
3432
3533 this . updateContext ( { repository : this . repo } ) ;
3634 this . _uniqueId = getViewNodeId ( this . type , this . context ) ;
37-
38- this . splatted = splatted ;
3935 }
4036
4137 private _child : TChild | undefined ;
@@ -67,8 +63,6 @@ export abstract class RepositoryFolderNode<
6763 }
6864
6965 async getTreeItem ( ) : Promise < TreeItem > {
70- this . splatted = false ;
71-
7266 const branch = await this . repo . git . branches . getBranch ( ) ;
7367 const ahead = Boolean ( branch ?. upstream ?. state . ahead ) ;
7468 const behind = Boolean ( branch ?. upstream ?. state . behind ) ;
0 commit comments