Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit e6f32fe

Browse files
Adding a bit more logs
1 parent dc297a1 commit e6f32fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/GitHub.Api/Git/GitClient.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,13 +301,17 @@ public ITask<string> Commit(string message, string body,
301301

302302
public ITask<string> Add(GitAddTask.AddFileOption addFileOption, IOutputProcessor<string> processor = null)
303303
{
304+
Logger.Trace("Add {0}", addFileOption);
305+
304306
return new GitAddTask(addFileOption, cancellationToken, processor)
305307
.Configure(processManager);
306308
}
307309

308310
public ITask<string> Add(IList<string> files,
309311
IOutputProcessor<string> processor = null)
310312
{
313+
Logger.Trace("Add Files");
314+
311315
GitAddTask last = null;
312316
foreach (var batch in files.Spool(5000))
313317
{

0 commit comments

Comments
 (0)