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