libgit2sharp icon indicating copy to clipboard operation
libgit2sharp copied to clipboard

FetchOptions in CloneOptions is readonly and has not been set in constructor !

Open Torabi opened this issue 1 year ago • 0 comments

Reproduction steps

unable to set CredentialsProvider
co.FetchOptions.CredentialsProvider = (_url, _user, _cred) => new LibGit2Sharp.UsernamePasswordCredentials { Username = "username", Password = accessToken }; because the FetchOptions is null and it cannot be set in CloneOptions as it is readonly

Expected behavior

Actual behavior

Version of LibGit2Sharp (release number or SHA1)

Operating system(s) tested; .NET runtime tested

Torabi avatar Mar 30 '24 08:03 Torabi