diff options
Diffstat (limited to 'src/bin/git_remote_nostr/fetch.rs')
| -rw-r--r-- | src/bin/git_remote_nostr/fetch.rs | 7 |
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}; | |||
| 10 | use auth_git2::GitAuthenticator; | 10 | use auth_git2::GitAuthenticator; |
| 11 | use git2::{Progress, Repository}; | 11 | use git2::{Progress, Repository}; |
| 12 | use ngit::{ | 12 | use 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; | |||
| 23 | use nostr_sdk::{Event, ToBech32}; | 24 | use nostr_sdk::{Event, ToBech32}; |
| 24 | 25 | ||
| 25 | use crate::utils::{ | 26 | use 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 | ||
| 31 | pub async fn run_fetch( | 32 | pub async fn run_fetch( |