upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/sub_commands/push.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-07-26 10:29:33 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-07-26 10:36:58 +0100
commit0134ab8eb413b8b81ec8e179897ddb8ea63e134e (patch)
tree1d3ef8786fa806a4d39378286c68cda722cc017d /src/sub_commands/push.rs
parent52f9efa50f81142da013c4da5f3cd3091e07916b (diff)
feat(remote): add nostr git remote helper
as a simple proxy to the first git server listed in announcement parse clone url as `nostr://naddr123...`
Diffstat (limited to 'src/sub_commands/push.rs')
-rw-r--r--src/sub_commands/push.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sub_commands/push.rs b/src/sub_commands/push.rs
index acd91f0..56927fe 100644
--- a/src/sub_commands/push.rs
+++ b/src/sub_commands/push.rs
@@ -5,6 +5,7 @@ use crate::client::Client;
5#[cfg(test)] 5#[cfg(test)]
6use crate::client::MockConnect; 6use crate::client::MockConnect;
7use crate::{ 7use crate::{
8 cli::Cli,
8 client::{fetching_with_report, get_repo_ref_from_cache, Connect}, 9 client::{fetching_with_report, get_repo_ref_from_cache, Connect},
9 git::{str_to_sha1, Repo, RepoActions}, 10 git::{str_to_sha1, Repo, RepoActions},
10 login, 11 login,
@@ -21,7 +22,6 @@ use crate::{
21 identify_ahead_behind, send_events, 22 identify_ahead_behind, send_events,
22 }, 23 },
23 }, 24 },
24 Cli,
25}; 25};
26 26
27#[derive(Debug, clap::Args)] 27#[derive(Debug, clap::Args)]