@@ -157,110 +157,144 @@ public ITask Init(IOutputProcessor<string> processor = null)
157157
158158 public ITask LfsInstall ( IOutputProcessor < string > processor = null )
159159 {
160+ Logger . Trace ( "LfsInstall" ) ;
161+
160162 return new GitLfsInstallTask ( cancellationToken , processor )
161163 . Configure ( processManager ) ;
162164 }
163165
164166 public ITask < GitStatus ? > Status ( IOutputProcessor < GitStatus ? > processor = null )
165167 {
168+ Logger . Trace ( "Status" ) ;
169+
166170 return new GitStatusTask ( new GitObjectFactory ( environment ) , cancellationToken , processor )
167171 . Configure ( processManager ) ;
168172 }
169173
170174 public ITask < List < GitLogEntry > > Log ( BaseOutputListProcessor < GitLogEntry > processor = null )
171175 {
176+ Logger . Trace ( "Log" ) ;
177+
172178 return new GitLogTask ( new GitObjectFactory ( environment ) , cancellationToken , processor )
173179 . Configure ( processManager ) ;
174180 }
175181
176182 public ITask < string > GetConfig ( string key , GitConfigSource configSource , IOutputProcessor < string > processor = null )
177183 {
184+ Logger . Trace ( "GetConfig" ) ;
185+
178186 return new GitConfigGetTask ( key , configSource , cancellationToken , processor )
179187 . Configure ( processManager ) ;
180188 }
181189
182190 public ITask < string > SetConfig ( string key , string value , GitConfigSource configSource , IOutputProcessor < string > processor = null )
183191 {
192+ Logger . Trace ( "SetConfig" ) ;
193+
184194 return new GitConfigSetTask ( key , value , configSource , cancellationToken , processor )
185195 . Configure ( processManager ) ;
186196 }
187197
188198 public ITask < List < GitLock > > ListLocks ( bool local , BaseOutputListProcessor < GitLock > processor = null )
189199 {
200+ Logger . Trace ( "ListLocks" ) ;
201+
190202 return new GitListLocksTask ( new GitObjectFactory ( environment ) , local , cancellationToken , processor )
191203 . Configure ( processManager ) ;
192204 }
193205
194206 public ITask < string > Pull ( string remote , string branch , IOutputProcessor < string > processor = null )
195207 {
208+ Logger . Trace ( "Pull" ) ;
209+
196210 return new GitPullTask ( remote , branch , cancellationToken , processor )
197211 . Configure ( processManager ) ;
198212 }
199213
200214 public ITask < string > Push ( string remote , string branch ,
201215 IOutputProcessor < string > processor = null )
202216 {
217+ Logger . Trace ( "Push" ) ;
218+
203219 return new GitPushTask ( remote , branch , true , cancellationToken , processor )
204220 . Configure ( processManager ) ;
205221 }
206222
207223 public ITask < string > Revert ( string changeset , IOutputProcessor < string > processor = null )
208224 {
225+ Logger . Trace ( "Revert" ) ;
226+
209227 return new GitRevertTask ( changeset , cancellationToken , processor )
210228 . Configure ( processManager ) ;
211229 }
212230
213231 public ITask < string > Fetch ( string remote ,
214232 IOutputProcessor < string > processor = null )
215233 {
234+ Logger . Trace ( "Fetch" ) ;
235+
216236 return new GitFetchTask ( remote , cancellationToken , processor )
217237 . Configure ( processManager ) ;
218238 }
219239
220240 public ITask < string > SwitchBranch ( string branch , IOutputProcessor < string > processor = null )
221241 {
242+ Logger . Trace ( "SwitchBranch" ) ;
243+
222244 return new GitSwitchBranchesTask ( branch , cancellationToken , processor )
223245 . Configure ( processManager ) ;
224246 }
225247
226248 public ITask < string > DeleteBranch ( string branch , bool deleteUnmerged = false ,
227249 IOutputProcessor < string > processor = null )
228250 {
251+ Logger . Trace ( "DeleteBranch" ) ;
252+
229253 return new GitBranchDeleteTask ( branch , deleteUnmerged , cancellationToken , processor )
230254 . Configure ( processManager ) ;
231255 }
232256
233257 public ITask < string > CreateBranch ( string branch , string baseBranch ,
234258 IOutputProcessor < string > processor = null )
235259 {
260+ Logger . Trace ( "CreateBranch" ) ;
261+
236262 return new GitBranchCreateTask ( branch , baseBranch , cancellationToken , processor )
237263 . Configure ( processManager ) ;
238264 }
239265
240266 public ITask < string > RemoteAdd ( string remote , string url ,
241267 IOutputProcessor < string > processor = null )
242268 {
269+ Logger . Trace ( "RemoteAdd" ) ;
270+
243271 return new GitRemoteAddTask ( remote , url , cancellationToken , processor )
244272 . Configure ( processManager ) ;
245273 }
246274
247275 public ITask < string > RemoteRemove ( string remote ,
248276 IOutputProcessor < string > processor = null )
249277 {
278+ Logger . Trace ( "RemoteRemove" ) ;
279+
250280 return new GitRemoteRemoveTask ( remote , cancellationToken , processor )
251281 . Configure ( processManager ) ;
252282 }
253283
254284 public ITask < string > RemoteChange ( string remote , string url ,
255285 IOutputProcessor < string > processor = null )
256286 {
287+ Logger . Trace ( "RemoteChange" ) ;
288+
257289 return new GitRemoteChangeTask ( remote , url , cancellationToken , processor )
258290 . Configure ( processManager ) ;
259291 }
260292
261293 public ITask < string > Commit ( string message , string body ,
262294 IOutputProcessor < string > processor = null )
263295 {
296+ Logger . Trace ( "Commit" ) ;
297+
264298 return new GitCommitTask ( message , body , cancellationToken , processor )
265299 . Configure ( processManager ) ;
266300 }
@@ -295,13 +329,17 @@ public ITask<string> Add(IList<string> files,
295329 public ITask < string > Remove ( IList < string > files ,
296330 IOutputProcessor < string > processor = null )
297331 {
332+ Logger . Trace ( "Remove" ) ;
333+
298334 return new GitRemoveFromIndexTask ( files , cancellationToken , processor )
299335 . Configure ( processManager ) ;
300336 }
301337
302338 public ITask < string > AddAndCommit ( IList < string > files , string message , string body ,
303339 IOutputProcessor < string > processor = null )
304340 {
341+ Logger . Trace ( "AddAndCommit" ) ;
342+
305343 return Add ( files )
306344 . Then ( new GitCommitTask ( message , body , cancellationToken )
307345 . Configure ( processManager ) ) ;
@@ -310,13 +348,17 @@ public ITask<string> AddAndCommit(IList<string> files, string message, string bo
310348 public ITask < string > Lock ( string file ,
311349 IOutputProcessor < string > processor = null )
312350 {
351+ Logger . Trace ( "Lock" ) ;
352+
313353 return new GitLockTask ( file , cancellationToken , processor )
314354 . Configure ( processManager ) ;
315355 }
316356
317357 public ITask < string > Unlock ( string file , bool force ,
318358 IOutputProcessor < string > processor = null )
319359 {
360+ Logger . Trace ( "Unlock" ) ;
361+
320362 return new GitUnlockTask ( file , force , cancellationToken , processor )
321363 . Configure ( processManager ) ;
322364 }
0 commit comments