From 9c9629981f23cc9d9f4f60577ae58406c20b793f Mon Sep 17 00:00:00 2001 From: Christoph Kluenter Date: Tue, 12 Jul 2016 09:17:47 +0200 Subject: only update git submodules only if not subrepo --- lib/leap_cli/commands/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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" -- cgit v1.2.3