Skip to content
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
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