You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is the value of username a <user> string? I've been able to start isolating a problem where the domain gets trimmed before it gets to Azure resulting in an incorrect username in the login.
Reproduction steps
upgrading from 0.28 to 0.30 on Fetch
Repository.Init(_gitRootPath);
using var repo = new Repository(gitRootPath);
Remote remote = repo.Network.Remotes.Add(VcConstants.ORIGIN, vcSettings.GitRepoUrl);
var remoteRefSpecs = remote.FetchRefSpecs.Select(x => x.Specification);
Commands.Fetch(repo, remote.Name, refSpecs, new FetchOptions
{
CredentialsProvider = (, _, _) => new UsernamePasswordCredentials
{ Username = vcSettings.GitUsername, Password = vcSettings.GitPassword },
Prune = true
}, string.Empty);
Expected behavior
should fetch normally with exceptions
Actual behavior
throw too many redirects or authentication replays
Version of LibGit2Sharp (release number or SHA1)
0.29.0 & 0.30.0
Operating system(s) tested; .NET runtime tested
The text was updated successfully, but these errors were encountered: