diff options
author | Christoph Kluenter <ckluente@thoughtworks.com> | 2016-07-12 09:17:47 +0200 |
---|---|---|
committer | Christoph Kluenter <ckluente@thoughtworks.com> | 2016-07-12 10:56:03 +0200 |
commit | 9c9629981f23cc9d9f4f60577ae58406c20b793f (patch) | |
tree | e06ba22b1284dd17225921b7619d0be8bd453a52 /lib | |
parent | d05f00bf405e9c0f4f6431ba923e7b4001de9cb6 (diff) |
only update git submodules only if not subrepo
Diffstat (limited to 'lib')
-rw-r--r-- | lib/leap_cli/commands/deploy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/deploy.rb b/lib/leap_cli/commands/deploy.rb index d26b9905..a09fddbe 100644 --- a/lib/leap_cli/commands/deploy.rb +++ b/lib/leap_cli/commands/deploy.rb @@ -286,7 +286,7 @@ module LeapCli # repository. # def init_submodules - return unless is_git_directory?(Path.platform) + return unless is_git_directory?(Path.platform) && !is_git_subrepo?(Path.platform) Dir.chdir Path.platform do assert_run! "git submodule sync" statuses = assert_run! "git submodule status" |