We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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);
should fetch normally with exceptions
throw too many redirects or authentication replays
0.29.0 & 0.30.0
The text was updated successfully, but these errors were encountered:
Ive been encountering the same issue
Sorry, something went wrong.
any update on this?
No branches or pull requests
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: