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
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(