Skip to content

Commit

Permalink
adjust for changes in git-transport
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Nov 11, 2022
1 parent f88569b commit ef64395
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions git-repository/src/remote/connection/ref_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ where
.url(Direction::Fetch)
.map(ToOwned::to_owned)
.unwrap_or_else(|| {
git_url::parse(self.transport.to_url().as_bytes().into())
.expect("valid URL to be provided by transport")
git_url::parse(self.transport.to_url().as_ref()).expect("valid URL to be provided by transport")
});
credentials_storage = self.configured_credentials(url)?;
&mut credentials_storage
Expand Down

0 comments on commit ef64395

Please sign in to comment.