Thread (10 messages) flat view 10 messages, 2 authors, 2016-06-15

Re: [REROLL PATCH v2 6/8] Support remote helpers implementing smart transports

From: Shawn O. Pearce <hidden>
Date: 2016-06-15 22:47:53

Ilari Liusvaara [off-list ref] wrote:
Signed-off-by: Ilari Liusvaara <redacted>
Signed-off-by: Junio C Hamano <redacted>
Signed-off-by: Ilari Liusvaara <redacted>
This is better.
+	if (strcmp(name, exec)) {
+		r = set_helper_option(transport, "servpath", exec);
+		if (r > 0)
+			fprintf(stderr, "Warning: Setting remote service path "
+				"not supported by protocol.\n");
+		else if (r < 0)
+			fprintf(stderr, "Warning: Invalid remote service "
+				"path.\n");
Style-nit: We prefer "warning: " with lowercase.

-- 
Shawn.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help