Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LibGit2Sharp v0.29.0 moved CloneOptions properties into FetchOptions #91

Merged
merged 1 commit into from
Dec 7, 2024
Merged
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
4 changes: 2 additions & 2 deletions AM2RLauncher/AM2RLauncher/AM2RLauncher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down Expand Up @@ -96,4 +96,4 @@
</None>
</ItemGroup>

</Project>
</Project>
5 changes: 3 additions & 2 deletions AM2RLauncher/AM2RLauncher/MainForm/MainForm.Events.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ private async void PlayButtonClickEvent(object sender, EventArgs e)
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
Expand Down Expand Up @@ -1081,4 +1082,4 @@ private void UpdateModButtonClicked(object sender, EventArgs e)
}

#endregion
}
}
4 changes: 2 additions & 2 deletions AM2RLauncher/AM2RLauncherLib/AM2RLauncherLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -19,4 +19,4 @@
</Reference>
</ItemGroup>

</Project>
</Project>
Loading