Skip to content

Commit b78b290

Browse files
committed
Adjust GitStatusOptions to match structure of native libgit2
This fixes a marshaling bug that causes a segmentation fault
1 parent df3b22a commit b78b290

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: LibGit2Sharp/Core/GitStatusOptions.cs

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ internal class GitStatusOptions : IDisposable
1313

1414
public GitStrArrayManaged PathSpec;
1515

16+
public IntPtr Baseline = IntPtr.Zero;
17+
1618
public void Dispose()
1719
{
1820
PathSpec.Dispose();

0 commit comments

Comments
 (0)