Skip to content

Commit 10c9446

Browse files
authored
Merge pull request #1890 from OctopusDeploy/worktree-fix-1885
Update `git_worktree_add_options` struct to include ref pointer
2 parents 689dcf2 + 8a61eec commit 10c9446

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: LibGit2Sharp/Core/GitWorktree.cs

+3-1
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ internal enum GitWorktreePruneOptionFlags : uint
3333
internal class git_worktree_add_options
3434
{
3535
public uint version = 1;
36-
36+
3737
public int locked;
38+
39+
public IntPtr @ref = IntPtr.Zero;
3840
}
3941

4042
[StructLayout(LayoutKind.Sequential)]

0 commit comments

Comments
 (0)