summaryrefslogtreecommitdiffstats
path: root/gitautodeploy
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2016-06-09 19:16:02 +0200
committerOliver Poignant <oliver@poignant.se>2016-06-09 19:16:02 +0200
commit4f358f4801f6676164b5f6cb33683e193529a91b (patch)
tree6df2b240000417458d85a19f526c8ccb2320cd87 /gitautodeploy
parent9538eeae249c694feb3a2494804f36857e95c4af (diff)
parentf41a44089320e01379e67315672fc6e473b2835e (diff)
downloadGit-Auto-Deploy-4f358f4801f6676164b5f6cb33683e193529a91b.zip
Git-Auto-Deploy-4f358f4801f6676164b5f6cb33683e193529a91b.tar.gz
Git-Auto-Deploy-4f358f4801f6676164b5f6cb33683e193529a91b.tar.bz2
Merge branch 'letorbi-recursive-submodules'
Diffstat (limited to 'gitautodeploy')
-rw-r--r--gitautodeploy/wrappers/git.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gitautodeploy/wrappers/git.py b/gitautodeploy/wrappers/git.py
index 5f97171..e600d9e 100644
--- a/gitautodeploy/wrappers/git.py
+++ b/gitautodeploy/wrappers/git.py
@@ -32,8 +32,7 @@ class GitWrapper():
commands.append('git fetch ' + repo_config['remote'])
commands.append('git reset --hard ' + repo_config['remote'] + '/' + repo_config['branch'])
- commands.append('git submodule init')
- commands.append('git submodule update')
+ commands.append('git submodule update --init --recursive')
#commands.append('git update-index --refresh')
# All commands needs to success