Compare commits
2 commits
1bf9f6a516
...
656ec4a534
Author | SHA1 | Date | |
---|---|---|---|
656ec4a534 | |||
2ec5ae1d51 |
1 changed files with 2 additions and 3 deletions
|
@ -16,10 +16,9 @@ impl TryFrom<gix::Url> for RemoteUrl {
|
||||||
}
|
}
|
||||||
impl RemoteUrl {
|
impl RemoteUrl {
|
||||||
pub fn matches(&self, other: &Self) -> bool {
|
pub fn matches(&self, other: &Self) -> bool {
|
||||||
tracing::debug!(host = ?self.host, user = ?self.user, fullname = ?self.fullname, token = ?self.token, "a");
|
tracing::debug!(host = ?self.host, fullname = ?self.fullname, token = ?self.token, "a");
|
||||||
tracing::debug!(host = ?other.host, user = ?other.user, fullname = ?other.fullname, token = ?other.token,"b");
|
tracing::debug!(host = ?other.host, fullname = ?other.fullname, token = ?other.token,"b");
|
||||||
self.host.eq(&other.host)
|
self.host.eq(&other.host)
|
||||||
&& self.user.eq(&other.user)
|
|
||||||
&& self.fullname.eq(&other.fullname)
|
&& self.fullname.eq(&other.fullname)
|
||||||
&& self.token.eq(&other.token)
|
&& self.token.eq(&other.token)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue