diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-05-09 15:04:45 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-05-09 15:04:45 +0100 |
commit | 6a091c4b3fcb7d97c9d084f3d2e602c2bbee78c5 (patch) | |
tree | 89ec09f37d4430e662337c7155907fc533af5ec2 /morph | |
parent | 02b9948cf80b2db8053058a8dcb60bf602945d74 (diff) | |
download | morph-6a091c4b3fcb7d97c9d084f3d2e602c2bbee78c5.tar.gz |
Obey --not-git-update in _clone_to_directory
Diffstat (limited to 'morph')
-rwxr-xr-x | morph | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -613,7 +613,8 @@ class Morph(cliapp.Application): # Get the repository into the cache; make sure it is up to date. repo = cache.cache_repo(reponame) - repo.update() + if not self.settings['no-git-update']: + repo.update() # Clone it from cache to target directory. repo.checkout(ref, os.path.abspath(dirname)) |