This repository was archived by the owner on Apr 8, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -209,22 +209,8 @@ function drush_config_extra_config_merge($alias = '', $config_label = 'sync') {
209209 return FALSE ;
210210 }
211211
212- // Check to see if the export changed any files. If it did not, then
213- // skip the merge, and process only the config pulled in from the other site.
214- // TODO: This needs to be a diff against the base commit. In 'git' mode,
215- // we probably want to just skip this test and always merge. Maybe always do this?
216- $ configuration_path = _drush_cme_get_configuration_path ($ merge_info );
217- $ result = drush_shell_cd_and_exec ($ configuration_path , 'git status --porcelain . ' );
218- if (!$ result ) {
219- return drush_set_error ('DRUSH_CONFIG_MERGE_FAILURE ' , dt ("`git status` failed. " ));
220- }
221- $ changed_configuration_files = drush_shell_exec_output ();
222- if (empty ($ changed_configuration_files )) {
223- drush_log (dt ("No configuration changes on !site; no merge necessary. " , array ('!site ' => $ merge_info ['dev-site ' ])), 'ok ' );
224- }
225- else {
226- $ result = _drush_cme_merge_local_and_remote_configurations ($ merge_info );
227- }
212+ $ result = _drush_cme_merge_local_and_remote_configurations ($ merge_info );
213+
228214 if ($ result === FALSE ) {
229215 return FALSE ;
230216 }
You can’t perform that action at this time.
0 commit comments