Skip to content

Commit 749434d

Browse files
committed
React to ABI changes
1 parent b05d86f commit 749434d

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

LibGit2Sharp/Core/GitFetchOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ internal class GitFetchOptions
1111
public bool UpdateFetchHead = true;
1212
public TagFetchMode download_tags;
1313
public GitProxyOptions ProxyOptions;
14+
public RemoteFollowRedirects FollowRedirects;
1415
public GitStrArrayManaged CustomHeaders;
1516
}
1617
}

LibGit2Sharp/Core/GitPushOptions.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ internal class GitPushOptions
99
public int PackbuilderDegreeOfParallelism;
1010
public GitRemoteCallbacks RemoteCallbacks;
1111
public GitProxyOptions ProxyOptions;
12+
public RemoteFollowRedirects FollowRedirects;
1213
public GitStrArrayManaged CustomHeaders;
1314
}
1415
}

LibGit2Sharp/Core/GitStatusOptions.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ internal class GitStatusOptions : IDisposable
1515

1616
public IntPtr Baseline = IntPtr.Zero;
1717

18+
public ushort RenameThreshold = 50;
19+
1820
public void Dispose()
1921
{
2022
PathSpec.Dispose();
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace LibGit2Sharp.Core
2+
{
3+
internal enum RemoteFollowRedirects
4+
{
5+
Unspecified = 0,
6+
None = 1,
7+
Initial = 2,
8+
All = 4
9+
}
10+
}

0 commit comments

Comments
 (0)