diff options
author | Oliver Poignant <oliver@poignant.se> | 2016-06-09 19:16:02 +0200 |
---|---|---|
committer | Oliver Poignant <oliver@poignant.se> | 2016-06-09 19:16:02 +0200 |
commit | 4f358f4801f6676164b5f6cb33683e193529a91b (patch) | |
tree | 6df2b240000417458d85a19f526c8ccb2320cd87 /gitautodeploy | |
parent | 9538eeae249c694feb3a2494804f36857e95c4af (diff) | |
parent | f41a44089320e01379e67315672fc6e473b2835e (diff) | |
download | Git-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.py | 3 |
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 |