diff options
author | Torben <torben.letorbi@gmail.com> | 2016-05-30 12:53:14 +0200 |
---|---|---|
committer | Torben <torben.letorbi@gmail.com> | 2016-05-30 12:53:14 +0200 |
commit | b41bb068ab2ccd18ca8944d6ef7113cfdc7415c5 (patch) | |
tree | 1ecae267c42c2fc407ac3a4f4e94ce16385b7b1f /gitautodeploy/wrappers/git.py | |
parent | 9538eeae249c694feb3a2494804f36857e95c4af (diff) | |
download | Git-Auto-Deploy-b41bb068ab2ccd18ca8944d6ef7113cfdc7415c5.zip Git-Auto-Deploy-b41bb068ab2ccd18ca8944d6ef7113cfdc7415c5.tar.gz Git-Auto-Deploy-b41bb068ab2ccd18ca8944d6ef7113cfdc7415c5.tar.bz2 |
Add recursive update call for submodules to git pull wrapper
Diffstat (limited to 'gitautodeploy/wrappers/git.py')
-rw-r--r-- | gitautodeploy/wrappers/git.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gitautodeploy/wrappers/git.py b/gitautodeploy/wrappers/git.py index 5f97171..6ecd30c 100644 --- a/gitautodeploy/wrappers/git.py +++ b/gitautodeploy/wrappers/git.py @@ -34,6 +34,7 @@ class GitWrapper(): 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 foreach --recursive "git submodule init && git submodule update') #commands.append('git update-index --refresh') # All commands needs to success |