diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-11 07:21:08 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-13 14:40:09 +0000 |
| commit | 52370f542dad87ab029a5d701cc46658d5aef91b (patch) | |
| tree | fb7f6283850f528aaeca8aec606dd5bd41906d9a /src/bin/ngit/sub_commands/sync.rs | |
| parent | be1a8e53383dc495ede773a76131fad81f04d101 (diff) | |
fix: cli output line deletion during fetch
also reduce the clutter in the cli output for grasp servers.
Diffstat (limited to 'src/bin/ngit/sub_commands/sync.rs')
| -rw-r--r-- | src/bin/ngit/sub_commands/sync.rs | 9 |
1 files changed, 2 insertions, 7 deletions
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); |