diff options
Diffstat (limited to 'morphlib/git.py')
-rw-r--r-- | morphlib/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/git.py b/morphlib/git.py index d7eba935..e49c2b0f 100644 --- a/morphlib/git.py +++ b/morphlib/git.py @@ -107,7 +107,7 @@ def extract_bundle(location, bundle, msg=logging.debug): def clone(location, repo, msg=logging.debug): '''clone at git repo into location''' ex = morphlib.execute.Execute('.', msg=msg) - return ex.runv(['git', 'clone', repo, location]) + return ex.runv(['git', 'clone', '-l', repo, location]) def init(location, msg=logging.debug): '''initialise git repo at location''' |