LibGit2Sharp v0.29.0 moved CloneOptions properties into FetchOptions (#91)

Co-authored-by: Jason Oliveira <github@medicalcannab.is>
pull/92/head
jason-oliveira 2 years ago committed by GitHub
parent fce473b1bf
commit 8d04ae3231
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -31,7 +31,7 @@
<ItemGroup>
<PackageReference Include="Eto.Forms" Version="2.8.0" />
<PackageReference Include="LibGit2Sharp" Version="0.27.2" />
<PackageReference Include="LibGit2Sharp" Version="0.31.0" />
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0" />
@ -96,4 +96,4 @@
</None>
</ItemGroup>
</Project>
</Project>

@ -265,7 +265,8 @@ public partial class MainForm : Form
EnableProgressBarAndLabel();
// Set up progressBar update method
CloneOptions cloneOptions = new CloneOptions { OnTransferProgress = TransferProgressHandlerMethod };
FetchOptions fetchOptions = new FetchOptions { OnTransferProgress = TransferProgressHandlerMethod };
var cloneOptions = new CloneOptions(fetchOptions);
// Try to clone
try
@ -1081,4 +1082,4 @@ public partial class MainForm : Form
}
#endregion
}
}

@ -8,7 +8,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="LibGit2Sharp" Version="0.27.2" />
<PackageReference Include="LibGit2Sharp" Version="0.31.0" />
<PackageReference Include="log4net" Version="2.0.15" />
<PackageReference Include="Microsoft.Win32.Registry" Version="5.0.0" />
</ItemGroup>
@ -19,4 +19,4 @@
</Reference>
</ItemGroup>
</Project>
</Project>

Loading…
Cancel
Save