@@ -95,7 +95,6 @@ class RepositoryManager : IRepositoryManager
95
95
{
96
96
private readonly IGitConfig config ;
97
97
private readonly IGitClient gitClient ;
98
- private readonly IPlatform platform ;
99
98
private readonly IRepositoryPathConfiguration repositoryPaths ;
100
99
private readonly IRepositoryWatcher watcher ;
101
100
@@ -110,12 +109,11 @@ class RepositoryManager : IRepositoryManager
110
109
public event Action < Dictionary < string , ConfigBranch > > LocalBranchesUpdated ;
111
110
public event Action < Dictionary < string , ConfigRemote > , Dictionary < string , Dictionary < string , ConfigBranch > > > RemoteBranchesUpdated ;
112
111
113
- public RepositoryManager ( IPlatform platform , IGitConfig gitConfig ,
112
+ public RepositoryManager ( IGitConfig gitConfig ,
114
113
IRepositoryWatcher repositoryWatcher , IGitClient gitClient ,
115
114
IRepositoryPathConfiguration repositoryPaths )
116
115
{
117
116
this . repositoryPaths = repositoryPaths ;
118
- this . platform = platform ;
119
117
this . gitClient = gitClient ;
120
118
this . watcher = repositoryWatcher ;
121
119
this . config = gitConfig ;
@@ -132,7 +130,7 @@ public static RepositoryManager CreateInstance(IPlatform platform, ITaskManager
132
130
133
131
var repositoryWatcher = new RepositoryWatcher ( platform , repositoryPathConfiguration , taskManager . Token ) ;
134
132
135
- return new RepositoryManager ( platform , gitConfig , repositoryWatcher ,
133
+ return new RepositoryManager ( gitConfig , repositoryWatcher ,
136
134
gitClient , repositoryPathConfiguration ) ;
137
135
}
138
136
0 commit comments