From d01380f7b3efebc9c40a2e71c2ddd635fa936be4 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 24 Sep 2024 15:03:58 +0100 Subject: feat(login): login via nip46 QR code or nostrconnect url string which is a much better UX flow for nip46 --- src/bin/git_remote_nostr/push.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/bin/git_remote_nostr/push.rs') diff --git a/src/bin/git_remote_nostr/push.rs b/src/bin/git_remote_nostr/push.rs index 3bda6ba..0f4e792 100644 --- a/src/bin/git_remote_nostr/push.rs +++ b/src/bin/git_remote_nostr/push.rs @@ -16,6 +16,7 @@ use git_events::{ generate_cover_letter_and_patch_events, generate_patch_event, get_commit_id_from_patch, }; use ngit::{ + cli_interactor::count_lines_per_msg_vec, client::{self, get_event_from_cache_by_id}, git::{ self, @@ -39,10 +40,9 @@ use crate::{ git::Repo, list::list_from_remotes, utils::{ - count_lines_per_msg_vec, find_proposal_and_patches_by_branch_name, get_all_proposals, - get_remote_name_by_url, get_short_git_server_name, get_write_protocols_to_try, - join_with_and, push_error_is_not_authentication_failure, read_line, - set_protocol_preference, Direction, + find_proposal_and_patches_by_branch_name, get_all_proposals, get_remote_name_by_url, + get_short_git_server_name, get_write_protocols_to_try, join_with_and, + push_error_is_not_authentication_failure, read_line, set_protocol_preference, Direction, }, }; -- cgit v1.2.3