From c7faf80ab9d2639211d3978f1527286b3ce86ce0 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Wed, 11 Sep 2024 15:51:10 +0100 Subject: fix(remote): update copy to make it more like native git --- src/lib/git/nostr_url.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/git') diff --git a/src/lib/git/nostr_url.rs b/src/lib/git/nostr_url.rs index d0e6d8a..6fcc11d 100644 --- a/src/lib/git/nostr_url.rs +++ b/src/lib/git/nostr_url.rs @@ -28,8 +28,8 @@ impl fmt::Display for ServerProtocol { ServerProtocol::Git => write!(f, "git"), ServerProtocol::Filesystem => write!(f, "filesystem"), ServerProtocol::Unspecified => write!(f, "unsepcified"), - ServerProtocol::UnauthHttps => write!(f, "unauthenticated https"), - ServerProtocol::UnauthHttp => write!(f, "unauthenticated http"), + ServerProtocol::UnauthHttps => write!(f, "https (unauthenticated)"), + ServerProtocol::UnauthHttp => write!(f, "http (unauthenticated)"), } } } @@ -330,7 +330,7 @@ impl CloneUrl { if domain.is_empty() { self.original_string.to_string() } else { - domain + format!("{domain}{}", self.path) } } } -- cgit v1.2.3