summaryrefslogtreecommitdiff
path: root/morphlib/git.py
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-02-29 13:47:36 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-02 17:09:34 +0000
commit7f72010b604468e5c8e24deba10f5c181b72a131 (patch)
tree96d25d0bccc9066c0b55f7ea82fcf41eafc9efdb /morphlib/git.py
parentade75b0ef48df72c8526d3901a55c63cfa1f118b (diff)
downloadmorph-7f72010b604468e5c8e24deba10f5c181b72a131.tar.gz
Refactor SystemBuilder and add helper class
The helper class, Factory, has unit tests, which is why it's currently separate. It may later get integrated with BlobBuilder, or the other way around. Classes that don't have unit tests are marked out of coverage.
Diffstat (limited to 'morphlib/git.py')
-rw-r--r--morphlib/git.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/git.py b/morphlib/git.py
index 05a55e06..950fba31 100644
--- a/morphlib/git.py
+++ b/morphlib/git.py
@@ -250,7 +250,7 @@ def copy_repository(treeish, destdir, msg=logging.debug):
def checkout_ref(gitdir, ref, msg=logging.debug):
'''Checks out a specific ref/SHA1 in a git working tree.'''
ex = morphlib.execute.Execute(gitdir, msg=msg)
- return ex.runv(['git', 'checkout', ref])
+ ex.runv(['git', 'checkout', ref])
def set_submodule_url(gitdir, name, url, msg=logging.debug):
'''Changes the URL of a submodule to point to a specific location.'''