diff --git a/src/workflow/ArcanistPatchWorkflow.php b/src/workflow/ArcanistPatchWorkflow.php index a33e1419..51775c11 100644 --- a/src/workflow/ArcanistPatchWorkflow.php +++ b/src/workflow/ArcanistPatchWorkflow.php @@ -692,6 +692,10 @@ EOTEXT throw new ArcanistUsageException("Unable to apply patch!"); } + // in case there were any submodule changes involved + $repository_api->execpassthru( + 'submodule update --init'); + if ($this->shouldCommit()) { if ($bundle->getFullAuthor()) { $author_cmd = csprintf('--author=%s', $bundle->getFullAuthor());