git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 1/2] transport.c: modify comment in transport_get().

From
Llilinchao@oschina.cn <lilinchao@oschina.cn>
Date
Mar 24, 2021, 05:36 UTC
Message-ID
<f64df5f88c6211eb9c9a0024e87935e7@oschina.cn>
From: lilinchao <lilinchao@oschina.cn>
Signed-off-by: lilinchao <lilinchao@oschina.cn>
---
 transport.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/transport.c b/transport.c
index 1c4ab676d1..71b3d44cf3 100644
--- a/transport.c
+++ b/transport.c
@@ -1078,7 +1078,7 @@ struct transport *transport_get(struct remote *remote, const char *url)
 		data->conn = NULL;
 		data->got_remote_heads = 0;
 	} else {
-		/* Unknown protocol in URL. Pass to external handler. */
+		/* Http/https and other unknown protocol in URL. Pass to external handler. */
 		int len = external_specification_len(url);
 		char *handler = xmemdupz(url, len);
 		transport_helper_init(ret, handler);
-- 
2.30.0.1006.g4a81e96670
Next: Junio C Hamano
Message 1 of 3 in “transport.c: modify comment in transport_get().”
  1. 1/2 transport.c: modify comment in transport_get().lilinchao@oschina.cn, Mar 24, 2021
  2. Junio C HamanoMar 24, 2021
  3. lilinchao@oschina.cnMar 25, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.