Skip to content

Commit

Permalink
Merge pull request #1890 from OctopusDeploy/worktree-fix-1885
Browse files Browse the repository at this point in the history
Update `git_worktree_add_options` struct to include ref pointer
  • Loading branch information
bording authored Jul 3, 2021
2 parents 689dcf2 + 8a61eec commit 10c9446
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion LibGit2Sharp/Core/GitWorktree.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@ internal enum GitWorktreePruneOptionFlags : uint
internal class git_worktree_add_options
{
public uint version = 1;

public int locked;

public IntPtr @ref = IntPtr.Zero;
}

[StructLayout(LayoutKind.Sequential)]
Expand Down

0 comments on commit 10c9446

Please sign in to comment.