Auto merge of #10818 - Byron:flyby-fixes, r=weihanglo

fix typo
This commit is contained in:
bors 2022-07-03 13:41:11 +00:00
commit c0bbd42ce5

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()
{