@@ -5,7 +5,7 @@ import { ExplorerFilesLayout } from '../configuration';
55import { ExplorerNode , ResourceType , ShowAllNode } from './explorerNode' ;
66import { FolderNode , IFileExplorerNode } from './folderNode' ;
77import { GitExplorer } from './gitExplorer' ;
8- import { GitBranch , GitCommitType , GitLog , GitLogCommit , GitService , GitStatus , GitUri , IGitStatusFileWithCommit } from '../gitService' ;
8+ import { GitCommitType , GitLog , GitLogCommit , GitService , GitStatus , GitUri , IGitStatusFileWithCommit } from '../gitService' ;
99import { StatusFileCommitsNode } from './statusFileCommitsNode' ;
1010import * as path from 'path' ;
1111
@@ -17,8 +17,7 @@ export class StatusFilesNode extends ExplorerNode {
1717 constructor (
1818 public readonly status : GitStatus ,
1919 public readonly range : string | undefined ,
20- private readonly explorer : GitExplorer ,
21- public readonly branch ?: GitBranch
20+ private readonly explorer : GitExplorer
2221 ) {
2322 super ( GitUri . fromRepoPath ( status . repoPath ) ) ;
2423 this . repoPath = status . repoPath ;
@@ -87,7 +86,7 @@ export class StatusFilesNode extends ExplorerNode {
8786 const groups = Arrays . groupBy ( statuses , s => s . fileName ) ;
8887
8988 let children : IFileExplorerNode [ ] = [
90- ...Iterables . map ( Objects . values ( groups ) , statuses => new StatusFileCommitsNode ( repoPath , statuses [ statuses . length - 1 ] , statuses . map ( s => s . commit ) , this . explorer , this . branch ) )
89+ ...Iterables . map ( Objects . values ( groups ) , statuses => new StatusFileCommitsNode ( repoPath , statuses [ statuses . length - 1 ] , statuses . map ( s => s . commit ) , this . explorer ) )
9190 ] ;
9291
9392 if ( this . explorer . config . files . layout !== ExplorerFilesLayout . List ) {
0 commit comments