@@ -100,7 +100,6 @@ class RepositoryManager : IRepositoryManager
100
100
private readonly IPlatform platform ;
101
101
private readonly IRepositoryPathConfiguration repositoryPaths ;
102
102
private readonly ITaskManager taskManager ;
103
- private readonly IUsageTracker usageTracker ;
104
103
private readonly IRepositoryWatcher watcher ;
105
104
106
105
private bool isBusy ;
@@ -119,14 +118,13 @@ class RepositoryManager : IRepositoryManager
119
118
public event Action < string , string > OnRemoteBranchRemoved ;
120
119
public event Action < GitStatus > OnStatusUpdated ;
121
120
122
- public RepositoryManager ( IPlatform platform , ITaskManager taskManager , IUsageTracker usageTracker , IGitConfig gitConfig ,
121
+ public RepositoryManager ( IPlatform platform , ITaskManager taskManager , IGitConfig gitConfig ,
123
122
IRepositoryWatcher repositoryWatcher , IGitClient gitClient ,
124
123
IRepositoryPathConfiguration repositoryPaths , CancellationToken cancellationToken )
125
124
{
126
125
this . repositoryPaths = repositoryPaths ;
127
126
this . platform = platform ;
128
127
this . taskManager = taskManager ;
129
- this . usageTracker = usageTracker ;
130
128
this . cancellationToken = cancellationToken ;
131
129
this . gitClient = gitClient ;
132
130
this . watcher = repositoryWatcher ;
@@ -135,7 +133,7 @@ public RepositoryManager(IPlatform platform, ITaskManager taskManager, IUsageTra
135
133
SetupWatcher ( ) ;
136
134
}
137
135
138
- public static RepositoryManager CreateInstance ( IPlatform platform , ITaskManager taskManager , IUsageTracker usageTracker ,
136
+ public static RepositoryManager CreateInstance ( IPlatform platform , ITaskManager taskManager ,
139
137
IGitClient gitClient , NPath repositoryRoot )
140
138
{
141
139
var repositoryPathConfiguration = new RepositoryPathConfiguration ( repositoryRoot ) ;
@@ -144,7 +142,7 @@ public static RepositoryManager CreateInstance(IPlatform platform, ITaskManager
144
142
145
143
var repositoryWatcher = new RepositoryWatcher ( platform , repositoryPathConfiguration , taskManager . Token ) ;
146
144
147
- return new RepositoryManager ( platform , taskManager , usageTracker , gitConfig , repositoryWatcher ,
145
+ return new RepositoryManager ( platform , taskManager , gitConfig , repositoryWatcher ,
148
146
gitClient , repositoryPathConfiguration , taskManager . Token ) ;
149
147
}
150
148
0 commit comments