Skip to content

Commit

Permalink
Disable submodule update
Browse files Browse the repository at this point in the history
  • Loading branch information
finagin committed May 14, 2019
1 parent 9df03b3 commit 40ce05f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"name": "sd/arcanist",
"support": {
"issues": "https://github.com/sedmsk/arcanist/issues"
},
"authors": [
{
"name": "Igor Finagin",
Expand Down
2 changes: 0 additions & 2 deletions src/land/ArcanistGitLandEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ public function execute() {
$this->reconcileLocalState();

$api = $this->getRepositoryAPI();
$api->execxLocal('submodule update --init --recursive');

if ($this->getShouldKeep()) {
echo tsprintf(
Expand Down Expand Up @@ -527,7 +526,6 @@ private function restoreLocalState() {

$api->execxLocal('checkout %s --', $this->localRef);
$api->execxLocal('reset --hard %s --', $this->localCommit);
$api->execxLocal('submodule update --init --recursive');

$this->restoreWhenDestroyed = false;
}
Expand Down

0 comments on commit 40ce05f

Please sign in to comment.