upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/git_remote_nostr
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/git_remote_nostr')
-rw-r--r--src/bin/git_remote_nostr/fetch.rs6
-rw-r--r--src/bin/git_remote_nostr/list.rs6
-rw-r--r--src/bin/git_remote_nostr/push.rs6
3 files changed, 3 insertions, 15 deletions
diff --git a/src/bin/git_remote_nostr/fetch.rs b/src/bin/git_remote_nostr/fetch.rs
index 83b94b8..baf56ed 100644
--- a/src/bin/git_remote_nostr/fetch.rs
+++ b/src/bin/git_remote_nostr/fetch.rs
@@ -121,11 +121,7 @@ fn fetch_from_git_server(
121 let mut success = false; 121 let mut success = false;
122 for protocol in &protocols_to_attempt { 122 for protocol in &protocols_to_attempt {
123 term.write_line( 123 term.write_line(
124 format!( 124 format!("fetching {} over {protocol}...", server_url.short_name(),).as_str(),
125 "fetching over {protocol} from {}...",
126 server_url.short_name(),
127 )
128 .as_str(),
129 )?; 125 )?;
130 126
131 let formatted_url = server_url.format_as(protocol, &decoded_nostr_url.user)?; 127 let formatted_url = server_url.format_as(protocol, &decoded_nostr_url.user)?;
diff --git a/src/bin/git_remote_nostr/list.rs b/src/bin/git_remote_nostr/list.rs
index c8843e3..d3682ec 100644
--- a/src/bin/git_remote_nostr/list.rs
+++ b/src/bin/git_remote_nostr/list.rs
@@ -164,11 +164,7 @@ pub fn list_from_remote(
164 164
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!("fetching {} ref list over {protocol}...", server_url.short_name(),).as_str(),
168 "fetching ref list over {protocol} from {}...",
169 server_url.short_name(),
170 )
171 .as_str(),
172 )?; 168 )?;
173 169
174 let formatted_url = server_url.format_as(protocol, &decoded_nostr_url.user)?; 170 let formatted_url = server_url.format_as(protocol, &decoded_nostr_url.user)?;
diff --git a/src/bin/git_remote_nostr/push.rs b/src/bin/git_remote_nostr/push.rs
index 364555a..7f63eb0 100644
--- a/src/bin/git_remote_nostr/push.rs
+++ b/src/bin/git_remote_nostr/push.rs
@@ -355,11 +355,7 @@ fn push_to_remote(
355 355
356 for protocol in &protocols_to_attempt { 356 for protocol in &protocols_to_attempt {
357 term.write_line( 357 term.write_line(
358 format!( 358 format!("fetching {} ref list over {protocol}...", server_url.short_name(),).as_str(),
359 "fetching ref list over {protocol} from {}...",
360 server_url.short_name(),
361 )
362 .as_str(),
363 )?; 359 )?;
364 360
365 let formatted_url = server_url.format_as(protocol, &decoded_nostr_url.user)?; 361 let formatted_url = server_url.format_as(protocol, &decoded_nostr_url.user)?;