Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions LibGit2Sharp/PushOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,10 @@ public sealed class PushOptions
/// information about what updates will be performed.
/// </summary>
public PrePushHandler OnNegotiationCompletedBeforePush { get; set; }

/// <summary>
/// Handler for receiving textual progress from the remote.
/// </summary>
public ProgressHandler OnPushRemoteProgress { get; set; }
}
}
1 change: 1 addition & 0 deletions LibGit2Sharp/RemoteCallbacks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ internal RemoteCallbacks(PushOptions pushOptions)
CertificateCheck = pushOptions.CertificateCheck;
PushStatusError = pushOptions.OnPushStatusError;
PrePushCallback = pushOptions.OnNegotiationCompletedBeforePush;
Progress = pushOptions.OnPushRemoteProgress;
}

internal RemoteCallbacks(FetchOptionsBase fetchOptions)
Expand Down