Skip to content

Commit

Permalink
Merge pull request #1907 from jairbubbles/update-to-libgit2-v1-2-0
Browse files Browse the repository at this point in the history
Update to libgit2 v1.2.0
  • Loading branch information
bording authored Sep 16, 2021
2 parents 6329bea + 491d248 commit 5055fbd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions LibGit2Sharp/Core/GitOdbBackend.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ static GitOdbBackend()
public exists_prefix_callback ExistsPrefix;
public IntPtr Refresh;
public foreach_callback Foreach;

private IntPtr Padding; // TODO: add writemidx

public IntPtr Writepack;
public IntPtr Freshen;
public free_callback Free;
Expand Down
2 changes: 2 additions & 0 deletions LibGit2Sharp/Core/GitRebaseOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ internal class GitRebaseOptions

public GitCheckoutOpts checkout_options = new GitCheckoutOpts { version = 1 };

private IntPtr padding; // TODO: add git_commit_create_cb

public NativeMethods.commit_signing_callback signing_callback;
}
}
2 changes: 2 additions & 0 deletions LibGit2Sharp/Core/GitRemoteCallbacks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ internal struct GitRemoteCallbacks

internal IntPtr transport;

private IntPtr padding; // TODO: add git_remote_ready_cb

internal IntPtr payload;

internal NativeMethods.url_resolve_callback resolve_url;
Expand Down
2 changes: 1 addition & 1 deletion LibGit2Sharp/LibGit2Sharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="[2.0.315-alpha.0.1]" PrivateAssets="none" />
<PackageReference Include="LibGit2Sharp.NativeBinaries" Version="[2.0.315-alpha.0.2]" PrivateAssets="none" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="all" />
<PackageReference Include="Nerdbank.GitVersioning" Version="3.4.220" PrivateAssets="all" />
</ItemGroup>
Expand Down

0 comments on commit 5055fbd

Please sign in to comment.