From a5a662632b61ef2b35946af1e93f30a885ea1db2 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Fri, 6 Sep 2024 07:47:13 +0100 Subject: feat(remote): fetch protocol selection / fallback enable override from nostr url clone url is local use local otherwise try https unathenticated, ssh, then https authenticated --- src/bin/git_remote_nostr/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin/git_remote_nostr/main.rs') diff --git a/src/bin/git_remote_nostr/main.rs b/src/bin/git_remote_nostr/main.rs index 7bfe3f4..a3fc5f8 100644 --- a/src/bin/git_remote_nostr/main.rs +++ b/src/bin/git_remote_nostr/main.rs @@ -75,7 +75,7 @@ async fn main() -> Result<()> { println!("unsupported"); } ["fetch", oid, refstr] => { - fetch::run_fetch(&git_repo, &repo_ref, &stdin, oid, refstr).await?; + fetch::run_fetch(&git_repo, &repo_ref, &decoded_nostr_url, &stdin, oid, refstr).await?; } ["push", refspec] => { push::run_push( -- cgit v1.2.3