From 52370f542dad87ab029a5d701cc46658d5aef91b Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 11 Nov 2025 07:21:08 +0000 Subject: fix: cli output line deletion during fetch also reduce the clutter in the cli output for grasp servers. --- src/bin/git_remote_nostr/list.rs | 1 - src/bin/git_remote_nostr/push.rs | 1 - src/bin/ngit/sub_commands/sync.rs | 9 ++------- 3 files changed, 2 insertions(+), 9 deletions(-) (limited to 'src/bin') 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( git_repo, &repo_ref.git_server, &repo_ref.to_nostr_git_url(&None), - &repo_ref.grasp_servers(), ); 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( git_repo, &repo_ref.git_server, &repo_ref.to_nostr_git_url(&None), - &repo_ref.grasp_servers(), ) }); 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<()> { let term = console::Term::stderr(); - let remote_states = list_from_remotes( - &term, - &git_repo, - &repo_ref.git_server, - &decoded_nostr_url, - &repo_ref.grasp_servers(), - ); + let remote_states = + list_from_remotes(&term, &git_repo, &repo_ref.git_server, &decoded_nostr_url); let missing_refs = fetch_missing_refs(&git_repo, &nostr_state, &remote_states, &decoded_nostr_url); -- cgit v1.2.3