Skip to content

Commit

Permalink
libgit2sharp 0.28.0 => 0.29.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkoSekulic committed Dec 13, 2023
1 parent 5586654 commit 58b20b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion backend/packagegroups/NuGet.props
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PackageReference Update="ini-parser-netstandard" Version="2.5.2" />
<PackageReference Update="JWTCookieAuthentication" Version="3.0.1" />
<!-- Do not upgrade this package unless extensively tested-->
<PackageReference Update="LibGit2Sharp" Version="0.28.0" />
<PackageReference Update="LibGit2Sharp" Version="0.29.0" />
<PackageReference Update="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />
<PackageReference Update="Microsoft.ApplicationInsights.Kubernetes" Version="6.1.1" />
<PackageReference Update="Microsoft.AspNet.WebApi.Client" Version="6.0.0" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public string CloneRemoteRepository(string org, string repository)
{
string remoteRepo = FindRemoteRepoLocation(org, repository);
CloneOptions cloneOptions = new();
cloneOptions.CredentialsProvider = CredentialsProvider();
cloneOptions.FetchOptions.CredentialsProvider = CredentialsProvider();
string localPath = FindLocalRepoLocation(org, repository);
string cloneResult = LibGit2Sharp.Repository.Clone(remoteRepo, localPath, cloneOptions);

Expand All @@ -70,7 +70,7 @@ public string CloneRemoteRepository(string org, string repository, string destin
{
string remoteRepo = FindRemoteRepoLocation(org, repository);
CloneOptions cloneOptions = new();
cloneOptions.CredentialsProvider = CredentialsProvider();
cloneOptions.FetchOptions.CredentialsProvider = CredentialsProvider();

if (!string.IsNullOrEmpty(branchName))
{
Expand Down

0 comments on commit 58b20b7

Please sign in to comment.