Skip to content

Commit

Permalink
Adjust GitStatusOptions to match structure of native libgit2
Browse files Browse the repository at this point in the history
This fixes a marshaling bug that causes a segmentation fault
  • Loading branch information
Molytho committed May 25, 2021
1 parent df3b22a commit b78b290
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LibGit2Sharp/Core/GitStatusOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ internal class GitStatusOptions : IDisposable

public GitStrArrayManaged PathSpec;

public IntPtr Baseline = IntPtr.Zero;

public void Dispose()
{
PathSpec.Dispose();
Expand Down

0 comments on commit b78b290

Please sign in to comment.