This commit is contained in:
Sebastian Thiel 2022-07-02 12:52:24 +08:00
parent 42311063f0
commit 5bed4e8758
No known key found for this signature in database
GPG key ID: 9CB5EE7895E8268B

View file

@ -529,7 +529,7 @@ where
//
// If ssh-agent authentication fails, libgit2 will keep calling this
// callback asking for other authentication methods to try. Check
// cred_helper_bad to make sure we only try the git credentail helper
// cred_helper_bad to make sure we only try the git credential helper
// once, to avoid looping forever.
if allowed.contains(git2::CredentialType::USER_PASS_PLAINTEXT) && cred_helper_bad.is_none()
{