diff --git a/cuddle_cli/src/context.rs b/cuddle_cli/src/context.rs index 550ba83..589a154 100644 --- a/cuddle_cli/src/context.rs +++ b/cuddle_cli/src/context.rs @@ -6,6 +6,7 @@ use std::{ sync::{Arc, Mutex}, }; +use anyhow::Context; use git2::{ build::{CheckoutBuilder, RepoBuilder}, FetchOptions, RemoteCallbacks, @@ -133,6 +134,8 @@ fn pull_parent_cuddle_into_local( } }); + rc.certificate_check(|_cert, _something| Ok(git2::CertificateCheckStatus::CertificateOk)); + let mut fo = FetchOptions::new(); fo.remote_callbacks(rc);