Skip to content

Commit 8a9cf47

Browse files
committed
Update libgit2 to d969d41
libgit2/libgit2@9bbc8f3...d969d41
1 parent 40de694 commit 8a9cf47

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed
-1010 KB
Binary file not shown.
1020 KB
Binary file not shown.
-757 KB
Binary file not shown.
759 KB
Binary file not shown.

LibGit2Sharp/Core/Proxy.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1340,12 +1340,12 @@ public static ObjectId git_note_create(
13401340
public static string git_note_default_ref(RepositorySafeHandle repo)
13411341
{
13421342
using (ThreadAffinity())
1343+
using (var buf = new GitBuf())
13431344
{
1344-
string notes_ref;
1345-
int res = NativeMethods.git_note_default_ref(out notes_ref, repo);
1346-
Ensure.ZeroResult(res);
1345+
int res = NativeMethods.git_note_default_ref(buf, repo);
1346+
Ensure.Int32Result(res);
13471347

1348-
return notes_ref;
1348+
return LaxUtf8Marshaler.FromNative(buf.ptr);
13491349
}
13501350
}
13511351

LibGit2Sharp/libgit2_hash.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9bbc8f350b80a5a6e94651ec667cf9e5d545b317
1+
d969d41547080d5e924d49f44ba5de1ade5b343c

libgit2

Submodule libgit2 updated 162 files

nuget.package/build/LibGit2Sharp.props

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Condition=" '$(OS)' == 'Windows_NT' ">
4-
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\git2-9bbc8f3.dll">
5-
<Link>NativeBinaries\amd64\git2-9bbc8f3.dll</Link>
4+
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\git2-d969d41.dll">
5+
<Link>NativeBinaries\amd64\git2-d969d41.dll</Link>
66
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
77
</None>
8-
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\git2-9bbc8f3.pdb">
9-
<Link>NativeBinaries\amd64\git2-9bbc8f3.pdb</Link>
8+
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\git2-d969d41.pdb">
9+
<Link>NativeBinaries\amd64\git2-d969d41.pdb</Link>
1010
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
1111
</None>
12-
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\x86\git2-9bbc8f3.dll">
13-
<Link>NativeBinaries\x86\git2-9bbc8f3.dll</Link>
12+
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\x86\git2-d969d41.dll">
13+
<Link>NativeBinaries\x86\git2-d969d41.dll</Link>
1414
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
1515
</None>
16-
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\x86\git2-9bbc8f3.pdb">
17-
<Link>NativeBinaries\x86\git2-9bbc8f3.pdb</Link>
16+
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\x86\git2-d969d41.pdb">
17+
<Link>NativeBinaries\x86\git2-d969d41.pdb</Link>
1818
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
1919
</None>
2020
</ItemGroup>

0 commit comments

Comments
 (0)