Unified · Split
| @@ -91,7 +91,10 @@ mod async_io { · 90 unmodified lines | |||
| 91 | Ok(match url.scheme { | 91 | Ok(match url.scheme { |
| 92 | git_repository::url::Scheme::Git => { | 92 | git_repository::url::Scheme::Git => { |
| 93 | if url.user().is_some() { | 93 | if url.user().is_some() { |
| 94 | return Err(Error::UnsupportedUrlTokens(urlb.into(), url.scheme)); | 94 | return Err(Error::UnsupportedUrlTokens { |
| 95 | url: urlb.into(), | ||
| 96 | scheme: url.scheme, | ||
| 97 | }); | ||
| 95 | } | 98 | } |
| 96 | let path = std::mem::take(&mut url.path); | 99 | let path = std::mem::take(&mut url.path); |
| 97 | git_connect( | 100 | git_connect( |