summaryrefslogtreecommitdiffstats
path: root/gitautodeploy/wrappers/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitautodeploy/wrappers/git.py')
-rw-r--r--gitautodeploy/wrappers/git.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/gitautodeploy/wrappers/git.py b/gitautodeploy/wrappers/git.py
index 04ec94a..98a7361 100644
--- a/gitautodeploy/wrappers/git.py
+++ b/gitautodeploy/wrappers/git.py
@@ -36,12 +36,7 @@ class GitWrapper():
@staticmethod
def clone(url, branch, path):
from process import ProcessWrapper
- ProcessWrapper().call(['git',
- 'clone',
- '--recursive',
- url,
- '-b', branch,
- path], shell=True)
+ ProcessWrapper().call(['git clone --recursive ' + url + ' -b ' + branch + ' ' + path], shell=True)
@staticmethod
def deploy(repo_config):