upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-09-11 15:51:10 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-09-12 07:20:44 +0100
commitc7faf80ab9d2639211d3978f1527286b3ce86ce0 (patch)
treef79cb9aceb925206d6fa6fc05268d3873a4ab4f5 /src/lib
parentdf1660b1b78b5881c64c6fadd4ae12c8c01c6684 (diff)
fix(remote): update copy
to make it more like native git
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/git/nostr_url.rs6
1 files changed, 3 insertions, 3 deletions
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 {
28 ServerProtocol::Git => write!(f, "git"), 28 ServerProtocol::Git => write!(f, "git"),
29 ServerProtocol::Filesystem => write!(f, "filesystem"), 29 ServerProtocol::Filesystem => write!(f, "filesystem"),
30 ServerProtocol::Unspecified => write!(f, "unsepcified"), 30 ServerProtocol::Unspecified => write!(f, "unsepcified"),
31 ServerProtocol::UnauthHttps => write!(f, "unauthenticated https"), 31 ServerProtocol::UnauthHttps => write!(f, "https (unauthenticated)"),
32 ServerProtocol::UnauthHttp => write!(f, "unauthenticated http"), 32 ServerProtocol::UnauthHttp => write!(f, "http (unauthenticated)"),
33 } 33 }
34 } 34 }
35} 35}
@@ -330,7 +330,7 @@ impl CloneUrl {
330 if domain.is_empty() { 330 if domain.is_empty() {
331 self.original_string.to_string() 331 self.original_string.to_string()
332 } else { 332 } else {
333 domain 333 format!("{domain}{}", self.path)
334 } 334 }
335 } 335 }
336} 336}