Skip to content
This repository was archived by the owner on Jan 6, 2021. It is now read-only.

Commit b7b436f

Browse files
committed
Upgrade LibGit2Sharp
Upgrade LibGit2Sharp from version 0.22.0 to version 0.23.0-pre20150419160303 and LibGit2Sharp.NativeBinaries from version 1.0.129 to version 1.0.137.
1 parent 7a35a90 commit b7b436f

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/GitTools.Testing/Fixtures/BaseGitFlowRepositoryFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ void SetupRepo(Action<IRepository> initialMasterAction)
3434
{
3535
var randomFile = Path.Combine(Repository.Info.WorkingDirectory, Guid.NewGuid().ToString());
3636
File.WriteAllText(randomFile, string.Empty);
37-
Repository.Stage(randomFile);
37+
Commands.Stage(Repository, randomFile);
3838

3939
initialMasterAction(Repository);
4040

src/GitTools.Testing/GitTestExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public static Commit CreateFileAndCommit(this IRepository repository, string rel
4646
var contents = Guid.NewGuid().ToString().PadRight(totalWidth, '.');
4747
File.WriteAllText(randomFile, contents);
4848

49-
repository.Stage(randomFile);
49+
Commands.Stage(repository, randomFile);
5050

5151
return repository.Commit(string.Format("Test Commit for file '{0}' - {1}", relativeFileName, commitMessage),
5252
Generate.SignatureNow(), Generate.SignatureNow());

src/GitTools.Testing/GitTools.Testing.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="..\packages\LibGit2Sharp.NativeBinaries.1.0.129\build\LibGit2Sharp.NativeBinaries.props" Condition="Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.129\build\LibGit2Sharp.NativeBinaries.props')" />
3+
<Import Project="..\packages\LibGit2Sharp.NativeBinaries.1.0.137\build\LibGit2Sharp.NativeBinaries.props" Condition="Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.137\build\LibGit2Sharp.NativeBinaries.props')" />
44
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
55
<PropertyGroup>
66
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@@ -43,8 +43,8 @@
4343
<Prefer32Bit>false</Prefer32Bit>
4444
</PropertyGroup>
4545
<ItemGroup>
46-
<Reference Include="LibGit2Sharp, Version=0.22.0.0, Culture=neutral, PublicKeyToken=7cbde695407f0333, processorArchitecture=MSIL">
47-
<HintPath>..\packages\LibGit2Sharp.0.22.0\lib\net40\LibGit2Sharp.dll</HintPath>
46+
<Reference Include="LibGit2Sharp, Version=0.23.0.0, Culture=neutral, PublicKeyToken=7cbde695407f0333, processorArchitecture=MSIL">
47+
<HintPath>..\packages\LibGit2Sharp.0.23.0-pre20150419160303\lib\net40\LibGit2Sharp.dll</HintPath>
4848
<Private>True</Private>
4949
</Reference>
5050
<Reference Include="System" />
@@ -80,7 +80,7 @@
8080
<PropertyGroup>
8181
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
8282
</PropertyGroup>
83-
<Error Condition="!Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.129\build\LibGit2Sharp.NativeBinaries.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibGit2Sharp.NativeBinaries.1.0.129\build\LibGit2Sharp.NativeBinaries.props'))" />
83+
<Error Condition="!Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.137\build\LibGit2Sharp.NativeBinaries.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibGit2Sharp.NativeBinaries.1.0.137\build\LibGit2Sharp.NativeBinaries.props'))" />
8484
</Target>
8585
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
8686
Other similar extension points exist, see Microsoft.Common.targets.

src/GitTools.Testing/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="LibGit2Sharp" version="0.22.0" targetFramework="net40" />
4-
<package id="LibGit2Sharp.NativeBinaries" version="1.0.129" targetFramework="net40" />
3+
<package id="LibGit2Sharp" version="0.23.0-pre20150419160303" targetFramework="net40" />
4+
<package id="LibGit2Sharp.NativeBinaries" version="1.0.137" targetFramework="net40" />
55
<package id="LibLog" version="4.2.5" targetFramework="net40" developmentDependency="true" />
66
</packages>

0 commit comments

Comments
 (0)