upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/git_remote_nostr/list.rs1
-rw-r--r--src/bin/git_remote_nostr/push.rs1
-rw-r--r--src/bin/ngit/sub_commands/sync.rs9
3 files changed, 2 insertions, 9 deletions
diff --git a/src/bin/git_remote_nostr/list.rs b/src/bin/git_remote_nostr/list.rs
index b3ef2f6..803cc8f 100644
--- a/src/bin/git_remote_nostr/list.rs
+++ b/src/bin/git_remote_nostr/list.rs
@@ -31,7 +31,6 @@ pub async fn run_list(
31 git_repo, 31 git_repo,
32 &repo_ref.git_server, 32 &repo_ref.git_server,
33 &repo_ref.to_nostr_git_url(&None), 33 &repo_ref.to_nostr_git_url(&None),
34 &repo_ref.grasp_servers(),
35 ); 34 );
36 35
37 let mut state = if let Some(nostr_state) = nostr_state { 36 let mut state = if let Some(nostr_state) = nostr_state {
diff --git a/src/bin/git_remote_nostr/push.rs b/src/bin/git_remote_nostr/push.rs
index e880f0d..c35699d 100644
--- a/src/bin/git_remote_nostr/push.rs
+++ b/src/bin/git_remote_nostr/push.rs
@@ -75,7 +75,6 @@ pub async fn run_push(
75 git_repo, 75 git_repo,
76 &repo_ref.git_server, 76 &repo_ref.git_server,
77 &repo_ref.to_nostr_git_url(&None), 77 &repo_ref.to_nostr_git_url(&None),
78 &repo_ref.grasp_servers(),
79 ) 78 )
80 }); 79 });
81 80
diff --git a/src/bin/ngit/sub_commands/sync.rs b/src/bin/ngit/sub_commands/sync.rs
index b7eb812..2722da2 100644
--- a/src/bin/ngit/sub_commands/sync.rs
+++ b/src/bin/ngit/sub_commands/sync.rs
@@ -77,13 +77,8 @@ pub async fn launch(args: &SubCommandArgs) -> Result<()> {
77 77
78 let term = console::Term::stderr(); 78 let term = console::Term::stderr();
79 79
80 let remote_states = list_from_remotes( 80 let remote_states =
81 &term, 81 list_from_remotes(&term, &git_repo, &repo_ref.git_server, &decoded_nostr_url);
82 &git_repo,
83 &repo_ref.git_server,
84 &decoded_nostr_url,
85 &repo_ref.grasp_servers(),
86 );
87 82
88 let missing_refs = 83 let missing_refs =
89 fetch_missing_refs(&git_repo, &nostr_state, &remote_states, &decoded_nostr_url); 84 fetch_missing_refs(&git_repo, &nostr_state, &remote_states, &decoded_nostr_url);