summaryrefslogtreecommitdiff
path: root/morphlib/plugins/update_gits_plugin.py
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-09-05 17:12:26 +0000
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>2012-09-05 17:12:26 +0000
commitb9488584415d94fc28c2e064b917183b851af07b (patch)
treeebdb4f647c43afd633fcc5243e26ef24c6096628 /morphlib/plugins/update_gits_plugin.py
parent083fd4de011e0fcf4a445b38a7fa6ef8964a5ccb (diff)
downloadmorph-b9488584415d94fc28c2e064b917183b851af07b.tar.gz
Resolve tree SHA1 along with commit SHA1 when resolving refs
Adjust all other parts and the tests to work with this.
Diffstat (limited to 'morphlib/plugins/update_gits_plugin.py')
-rw-r--r--morphlib/plugins/update_gits_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/plugins/update_gits_plugin.py b/morphlib/plugins/update_gits_plugin.py
index ac7beaa8..92a687a3 100644
--- a/morphlib/plugins/update_gits_plugin.py
+++ b/morphlib/plugins/update_gits_plugin.py
@@ -51,7 +51,7 @@ class UpdateGitsPlugin(cliapp.Plugin):
subs_to_process = set()
- def visit(reponame, ref, filename, absref, morphology):
+ def visit(reponame, ref, filename, absref, tree, morphology):
app.status(msg='Updating %(repo_name)s %(ref)s %(filename)s',
repo_name=reponame, ref=ref, filename=filename)
assert cache.has_repo(reponame)