From 151989ab5a348ac116424e0fef00b5a8519d7dfd Mon Sep 17 00:00:00 2001 From: Jannis Pohlmann Date: Wed, 1 Feb 2012 14:58:25 +0000 Subject: Always specify '-l' when cloning in order to use hardlinking. --- morphlib/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'morphlib/git.py') 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''' -- cgit v1.2.1