* subversion/libsvn_ra_serf/merge.c
(setup_merge_headers): Don't send the empty X-SVN-Options header when
no special MERGE options are required.
@@ -284,6 +284,7 @@ setup_merge_headers(serf_bucket_t *headers,
if (ctx->disable_merge_response)
APR_ARRAY_PUSH(vals, const char *) = SVN_DAV_OPTION_NO_MERGE_RESPONSE;
+ if (vals->nelts > 0)
serf_bucket_headers_set(headers, SVN_DAV_OPTIONS_HEADER,
svn_cstring_join2(vals, " ", FALSE, scratch_pool));
