upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/sub_commands/sync.rs
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2025-10-20 12:50:37 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2025-10-20 14:36:24 +0100
commit54bbcc3c16b88a01a29bb0f9bd76e9174993e16e (patch)
tree70f5625f9d544fda133c12beb9358d094ccbf598 /src/bin/ngit/sub_commands/sync.rs
parentb61f48bcdad6a7d13259bb0c1dfe6c7564b357a1 (diff)
fix: grasp server detection
to ensure we dont try and fallback to ssh
Diffstat (limited to 'src/bin/ngit/sub_commands/sync.rs')
-rw-r--r--src/bin/ngit/sub_commands/sync.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/ngit/sub_commands/sync.rs b/src/bin/ngit/sub_commands/sync.rs
index 0860cc4..b7eb812 100644
--- a/src/bin/ngit/sub_commands/sync.rs
+++ b/src/bin/ngit/sub_commands/sync.rs
@@ -185,7 +185,7 @@ pub async fn launch(args: &SubCommandArgs) -> Result<()> {
185 &decoded_nostr_url, 185 &decoded_nostr_url,
186 &refspecs, 186 &refspecs,
187 &term, 187 &term,
188 *is_grasp_server, 188 *is_grasp_server || is_grasp_server_clone_url(url),
189 ) { 189 ) {
190 Err(error) => { 190 Err(error) => {
191 term.write_line(&format!( 191 term.write_line(&format!(