with new base url WIP should come from environment instead
This commit is contained in:
parent
aae8201252
commit
1727836c1f
@ -110,9 +110,9 @@ fn pull_parent_cuddle_into_local(
|
||||
destination: PathBuf,
|
||||
) -> anyhow::Result<()> {
|
||||
let mut rc = RemoteCallbacks::new();
|
||||
rc.credentials(|_url, username_from_url, _allowed_types| {
|
||||
rc.credentials(|_url, _username_from_url, _allowed_types| {
|
||||
git2::Cred::ssh_key(
|
||||
username_from_url.unwrap(),
|
||||
"git",
|
||||
None,
|
||||
Path::new(&format!("{}/.ssh/id_ed25519", env::var("HOME").unwrap())),
|
||||
None,
|
||||
|
Loading…
Reference in New Issue
Block a user