Commit fccb2810 authored by helmo's avatar helmo

Issue #1168758 by helmo | acrollet: Optionally add --include-vcs argument when...

Issue #1168758 by helmo | acrollet: Optionally add --include-vcs argument when using drush rsync to sync remote platform.
parent 7d321940
......@@ -174,11 +174,13 @@ class Provision_Context_server extends Provision_Context {
}
if (provision_file()->exists($path)->status()) {
$options = array_merge(array(
$default_options = array(
'relative' => TRUE,
'keep-dirlinks' => TRUE,
'omit-dir-times' => TRUE,
), $additional_options);
);
$global_extra_options = drush_get_option('global_sync_options', array());
$options = array_merge($default_options, $additional_options, $global_extra_options);
// We need to do this due to how drush creates the rsync command.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment