upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/git_remote_nostr/fetch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/git_remote_nostr/fetch.rs')
-rw-r--r--src/bin/git_remote_nostr/fetch.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/bin/git_remote_nostr/fetch.rs b/src/bin/git_remote_nostr/fetch.rs
index 46e7ad3..ff55d6f 100644
--- a/src/bin/git_remote_nostr/fetch.rs
+++ b/src/bin/git_remote_nostr/fetch.rs
@@ -10,6 +10,7 @@ use anyhow::{anyhow, bail, Context, Result};
10use auth_git2::GitAuthenticator; 10use auth_git2::GitAuthenticator;
11use git2::{Progress, Repository}; 11use git2::{Progress, Repository};
12use ngit::{ 12use ngit::{
13 cli_interactor::count_lines_per_msg_vec,
13 git::{ 14 git::{
14 nostr_url::{CloneUrl, NostrUrlDecoded, ServerProtocol}, 15 nostr_url::{CloneUrl, NostrUrlDecoded, ServerProtocol},
15 utils::check_ssh_keys, 16 utils::check_ssh_keys,
@@ -23,9 +24,9 @@ use nostr::nips::nip19;
23use nostr_sdk::{Event, ToBech32}; 24use nostr_sdk::{Event, ToBech32};
24 25
25use crate::utils::{ 26use crate::utils::{
26 count_lines_per_msg_vec, fetch_or_list_error_is_not_authentication_failure, 27 fetch_or_list_error_is_not_authentication_failure, find_proposal_and_patches_by_branch_name,
27 find_proposal_and_patches_by_branch_name, get_oids_from_fetch_batch, get_open_proposals, 28 get_oids_from_fetch_batch, get_open_proposals, get_read_protocols_to_try, join_with_and,
28 get_read_protocols_to_try, join_with_and, set_protocol_preference, Direction, 29 set_protocol_preference, Direction,
29}; 30};
30 31
31pub async fn run_fetch( 32pub async fn run_fetch(