History

adjust to changes in `git-transport` (#450)

Sebastian Thiel committed 4 years ago

Commit 3a024ed1 parent 71a43d01 file · +4 −1Browse files

Unified · Split

gitoxide-core/src/net.rs+4−1
@@ -91,7 +91,10 @@ mod async_io { · 90 unmodified lines
9191 Ok(match url.scheme {
9292 git_repository::url::Scheme::Git => {
9393 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+ });
9598 }
9699 let path = std::mem::take(&mut url.path);
97100 git_connect(