upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/git_remote_nostr/list.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/git_remote_nostr/list.rs')
-rw-r--r--src/bin/git_remote_nostr/list.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/git_remote_nostr/list.rs b/src/bin/git_remote_nostr/list.rs
index ae76614..3614626 100644
--- a/src/bin/git_remote_nostr/list.rs
+++ b/src/bin/git_remote_nostr/list.rs
@@ -165,8 +165,8 @@ pub fn list_from_remote(
165 for protocol in &protocols_to_attempt { 165 for protocol in &protocols_to_attempt {
166 term.write_line( 166 term.write_line(
167 format!( 167 format!(
168 "fetching ref list from {} over {protocol}...", 168 "fetching ref list over {protocol} from {}...",
169 server_url.domain(), 169 server_url.short_name(),
170 ) 170 )
171 .as_str(), 171 .as_str(),
172 )?; 172 )?;
@@ -184,8 +184,8 @@ pub fn list_from_remote(
184 if !failed_protocols.is_empty() { 184 if !failed_protocols.is_empty() {
185 term.write_line( 185 term.write_line(
186 format!( 186 format!(
187 "list: succeeded over {protocol} for {}", 187 "list: succeeded over {protocol} from {}",
188 server_url.domain(), 188 server_url.short_name(),
189 ) 189 )
190 .as_str(), 190 .as_str(),
191 )?; 191 )?;
@@ -210,7 +210,7 @@ pub fn list_from_remote(
210 } else { 210 } else {
211 let error = anyhow!( 211 let error = anyhow!(
212 "{} failed over {}{}", 212 "{} failed over {}{}",
213 server_url.domain(), 213 server_url.short_name(),
214 join_with_and(&failed_protocols), 214 join_with_and(&failed_protocols),
215 if decoded_nostr_url.protocol.is_some() { 215 if decoded_nostr_url.protocol.is_some() {
216 " and nostr url contains protocol override so no other protocols were attempted" 216 " and nostr url contains protocol override so no other protocols were attempted"