summaryrefslogtreecommitdiffstats
path: root/gitautodeploy/wrappers/git.py
diff options
context:
space:
mode:
authorOliver Poignant <oliver@poignant.se>2016-03-06 21:19:47 +0100
committerOliver Poignant <oliver@poignant.se>2016-03-06 21:19:47 +0100
commitedaec6df3c2b3b9c32b63b97c620b9ce204a21ed (patch)
treed7c4be5cca73ec48bafa9086f99fcd74e8976bba /gitautodeploy/wrappers/git.py
parenta0a3d2fdf85a89650ac39ea6fc2776c1ee530790 (diff)
parent7b0379c66dc3c5268f60defce767e9a7893995b4 (diff)
downloadGit-Auto-Deploy-edaec6df3c2b3b9c32b63b97c620b9ce204a21ed.zip
Git-Auto-Deploy-edaec6df3c2b3b9c32b63b97c620b9ce204a21ed.tar.gz
Git-Auto-Deploy-edaec6df3c2b3b9c32b63b97c620b9ce204a21ed.tar.bz2
Merge
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):