Thread (21 messages) flat view 21 messages, 3 authors, 2016-06-15

Re: [PATCH v6 03/10] transport-helper: add 'force' to 'export' helpers

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:59:13

Felipe Contreras [off-list ref] writes:
Otherwise they cannot know when to force the push or not (other than
hacks).

Tests-by: Richard Hansen [off-list ref]
Documentation-by: Richard Hansen [off-list ref]
Signed-off-by: Felipe Contreras <redacted>
---
Didn't we agree that this should be warn, not die?
+	if (flags & TRANSPORT_PUSH_FORCE) {
+		if (set_helper_option(transport, "force", "true") != 0)
+			die("helper %s does not support 'force'", data->name);
+	}
+
 	helper = get_helper(transport);
 
 	write_constant(helper->in, "export\n");
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help