Skip to content

Commit ec50953

Browse files
authored
Merge pull request #3824 from GitTools/dependabot/nuget/src/LibGit2Sharp-0.29.0
(deps): Bump LibGit2Sharp from 0.28.0 to 0.29.0 in /src
2 parents f1296b1 + 1deb994 commit ec50953

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<PackageVersion Include="Buildalyzer" Version="5.0.1" />
77
<PackageVersion Include="JsonSchema.Net.Generation" Version="3.5.0" />
88
<PackageVersion Include="JunitXml.TestLogger" Version="3.0.134" />
9-
<PackageVersion Include="LibGit2Sharp" Version="0.28.0" />
9+
<PackageVersion Include="LibGit2Sharp" Version="0.29.0" />
1010
<PackageVersion Include="MSBuild.ProjectCreation" Version="11.0.0" />
1111
<PackageVersion Include="Microsoft.Build" Version="17.8.3" />
1212
<PackageVersion Include="Microsoft.Build.Utilities.Core" Version="17.8.3" />

src/GitVersion.LibGit2Sharp/Git/GitRepository.extended.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private DirectReference GetPullRequestReference(AuthenticationInfo auth, LibGit2
116116
private static FetchOptions GetFetchOptions(AuthenticationInfo auth) =>
117117
new() { CredentialsProvider = GetCredentialsProvider(auth) };
118118
private static CloneOptions GetCloneOptions(AuthenticationInfo auth) =>
119-
new() { Checkout = false, CredentialsProvider = GetCredentialsProvider(auth) };
119+
new() { Checkout = false, FetchOptions = { CredentialsProvider = GetCredentialsProvider(auth) } };
120120
private static CredentialsHandler? GetCredentialsProvider(AuthenticationInfo auth)
121121
{
122122
if (!auth.Username.IsNullOrWhiteSpace())

0 commit comments

Comments
 (0)