Skip to content

Commit d7d187c

Browse files
committed
WIP
1 parent 36b13c5 commit d7d187c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

LibGit2Sharp/PushOptions.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ public sealed class PushOptions
5252
/// </summary>
5353
public PrePushHandler OnNegotiationCompletedBeforePush { get; set; }
5454

55+
/// <summary>
56+
/// Handler for receiving textual progress from the remote.
57+
/// </summary>
58+
public ProgressHandler OnPushRemoteProgress { get; set; }
59+
5560
/// <summary>
5661
/// Get/Set the custom headers.
5762
/// <para>

LibGit2Sharp/RemoteCallbacks.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ internal RemoteCallbacks(PushOptions pushOptions)
3030
CertificateCheck = pushOptions.CertificateCheck;
3131
PushStatusError = pushOptions.OnPushStatusError;
3232
PrePushCallback = pushOptions.OnNegotiationCompletedBeforePush;
33+
Progress = pushOptions.OnPushRemoteProgress;
3334
}
3435

3536
internal RemoteCallbacks(FetchOptionsBase fetchOptions)

0 commit comments

Comments
 (0)