Merge branch 'bc/smart-http-atomic-push'
The atomic push over smart HTTP transport did not work, which has been corrected. * bc/smart-http-atomic-push: remote-curl: pass on atomic capability to remote side
This commit is contained in:
@ -854,6 +854,10 @@ static void set_common_push_options(struct transport *transport,
|
||||
die(_("helper %s does not support --signed=if-asked"), name);
|
||||
}
|
||||
|
||||
if (flags & TRANSPORT_PUSH_ATOMIC)
|
||||
if (set_helper_option(transport, TRANS_OPT_ATOMIC, "true") != 0)
|
||||
die(_("helper %s does not support --atomic"), name);
|
||||
|
||||
if (flags & TRANSPORT_PUSH_OPTIONS) {
|
||||
struct string_list_item *item;
|
||||
for_each_string_list_item(item, transport->push_options)
|
||||
|
Reference in New Issue
Block a user