diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-10-20 12:50:37 +0100 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-10-20 14:36:24 +0100 |
| commit | 54bbcc3c16b88a01a29bb0f9bd76e9174993e16e (patch) | |
| tree | 70f5625f9d544fda133c12beb9358d094ccbf598 /src/bin/ngit/sub_commands | |
| parent | b61f48bcdad6a7d13259bb0c1dfe6c7564b357a1 (diff) | |
fix: grasp server detection
to ensure we dont try and fallback to ssh
Diffstat (limited to 'src/bin/ngit/sub_commands')
| -rw-r--r-- | src/bin/ngit/sub_commands/sync.rs | 2 |
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!( |