Skip to content

Commit 982aeba

Browse files
committed
WIP
# Conflicts: # .github/workflows/ci.yml
1 parent 36b13c5 commit 982aeba

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,8 @@ jobs:
8181
- distro: alpine.3.19
8282
sdk: '9.0'
8383
include:
84+
- sdk: '6.0'
85+
tfm: net6.0
8486
- sdk: '8.0'
8587
tfm: net8.0
8688
- sdk: '9.0'

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)