shithub: git9

Download patch

ref: 8d83bc1e1b0b2ceb3d366ffb297ae15e7eb8846f
parent: 1cd7d1dc7454536fdce66e87a5a78cead95ce03d
author: Ori Bernstein <[email protected]>
date: Sun Aug 30 22:00:05 EDT 2020

url format: give hjgit default port

now you can use it without tcp!host!port

--- a/proto.c
+++ b/proto.c
@@ -110,6 +110,8 @@
 		snprint(port, Nport, "443");
 	else if(strncmp(proto, "http", 4) == 0)
 		snprint(port, Nport, "80");
+	else if(strncmp(proto, "hjgit", 5) == 0)
+		snprint(port, Nport, "17021");
 	else
 		hasport = 0;
 	s = p + 3;