Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added Lib/NativeBinaries/amd64/git2-a248208.dll
Binary file not shown.
Binary file not shown.
Binary file removed Lib/NativeBinaries/amd64/git2-e0902fb.dll
Binary file not shown.
Binary file added Lib/NativeBinaries/x86/git2-a248208.dll
Binary file not shown.
Binary file not shown.
Binary file removed Lib/NativeBinaries/x86/git2-e0902fb.dll
Binary file not shown.
9 changes: 0 additions & 9 deletions LibGit2Sharp.Tests/BlobFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ public void CanGetBlobAsText()
[InlineData("true", "hey there\r\n")]
public void CanGetBlobAsFilteredText(string autocrlf, string expectedText)
{
SkipIfNotSupported(autocrlf);

var path = SandboxBareTestRepo();
using (var repo = new Repository(path))
{
Expand Down Expand Up @@ -131,8 +129,6 @@ public void CanReadBlobStream()
[InlineData("true", "hey there\r\n")]
public void CanReadBlobFilteredStream(string autocrlf, string expectedContent)
{
SkipIfNotSupported(autocrlf);

var path = SandboxBareTestRepo();
using (var repo = new Repository(path))
{
Expand Down Expand Up @@ -219,10 +215,5 @@ public void CanTellIfTheBlobContentLooksLikeBinary()
Assert.Equal(false, blob.IsBinary);
}
}

private static void SkipIfNotSupported(string autocrlf)
{
InconclusiveIf(() => autocrlf == "true" && IsRunningOnLinux(), "Non-Windows does not support core.autocrlf = true");
}
}
}
2 changes: 1 addition & 1 deletion LibGit2Sharp/Core/NativeDllName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ namespace LibGit2Sharp.Core
{
internal static class NativeDllName
{
public const string Name = "git2-e0902fb";
public const string Name = "git2-a248208";
}
}
2 changes: 1 addition & 1 deletion LibGit2Sharp/libgit2_hash.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
e0902fbce7d14631bd02091c1c70cde3e68f78ab
a248208dda9af488f6963d06bd5b1dbb9d1a62d5
5 changes: 5 additions & 0 deletions build.libgit2sharp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ LIBGIT2SHA=`cat ./LibGit2Sharp/libgit2_hash.txt`
SHORTSHA=${LIBGIT2SHA:0:7}
EXTRADEFINE="$1"

cd libgit2
git fetch origin refs/pull/2798/merge:refs/remotes/pr/2798
git checkout refs/remotes/pr/2798
cd ..

rm -rf libgit2/build
mkdir libgit2/build
pushd libgit2/build
Expand Down
16 changes: 8 additions & 8 deletions nuget.package/build/LibGit2Sharp.props
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\git2-e0902fb.dll">
<Link>NativeBinaries\amd64\git2-e0902fb.dll</Link>
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\git2-a248208.dll">
<Link>NativeBinaries\amd64\git2-a248208.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\git2-e0902fb.pdb">
<Link>NativeBinaries\amd64\git2-e0902fb.pdb</Link>
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\amd64\git2-a248208.pdb">
<Link>NativeBinaries\amd64\git2-a248208.pdb</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\x86\git2-e0902fb.dll">
<Link>NativeBinaries\x86\git2-e0902fb.dll</Link>
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\x86\git2-a248208.dll">
<Link>NativeBinaries\x86\git2-a248208.dll</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\x86\git2-e0902fb.pdb">
<Link>NativeBinaries\x86\git2-e0902fb.pdb</Link>
<None Include="$(MSBuildThisFileDirectory)\..\..\lib\net40\NativeBinaries\x86\git2-a248208.pdb">
<Link>NativeBinaries\x86\git2-a248208.pdb</Link>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
Expand Down