Skip to content

Commit

Permalink
Merge pull request #3824 from GitTools/dependabot/nuget/src/LibGit2Sh…
Browse files Browse the repository at this point in the history
…arp-0.29.0

(deps): Bump LibGit2Sharp from 0.28.0 to 0.29.0 in /src
  • Loading branch information
arturcic committed Dec 8, 2023
2 parents f1296b1 + 1deb994 commit ec50953
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<PackageVersion Include="Buildalyzer" Version="5.0.1" />
<PackageVersion Include="JsonSchema.Net.Generation" Version="3.5.0" />
<PackageVersion Include="JunitXml.TestLogger" Version="3.0.134" />
<PackageVersion Include="LibGit2Sharp" Version="0.28.0" />
<PackageVersion Include="LibGit2Sharp" Version="0.29.0" />
<PackageVersion Include="MSBuild.ProjectCreation" Version="11.0.0" />
<PackageVersion Include="Microsoft.Build" Version="17.8.3" />
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.8.3" />
Expand Down
2 changes: 1 addition & 1 deletion src/GitVersion.LibGit2Sharp/Git/GitRepository.extended.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private DirectReference GetPullRequestReference(AuthenticationInfo auth, LibGit2
private static FetchOptions GetFetchOptions(AuthenticationInfo auth) =>
new() { CredentialsProvider = GetCredentialsProvider(auth) };
private static CloneOptions GetCloneOptions(AuthenticationInfo auth) =>
new() { Checkout = false, CredentialsProvider = GetCredentialsProvider(auth) };
new() { Checkout = false, FetchOptions = { CredentialsProvider = GetCredentialsProvider(auth) } };
private static CredentialsHandler? GetCredentialsProvider(AuthenticationInfo auth)
{
if (!auth.Username.IsNullOrWhiteSpace())
Expand Down

0 comments on commit ec50953

Please sign in to comment.