summaryrefslogtreecommitdiff
path: root/morphlib/cachedrepo.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/cachedrepo.py')
-rw-r--r--morphlib/cachedrepo.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/morphlib/cachedrepo.py b/morphlib/cachedrepo.py
index 76cdaa86..168003b9 100644
--- a/morphlib/cachedrepo.py
+++ b/morphlib/cachedrepo.py
@@ -245,6 +245,10 @@ class CachedRepo(object):
else:
return False
+ def get_submodule_commit(self, parent_ref, submodule_path):
+ return self.gitdir.get_submodule_commit(parent_ref, # pragma: no cover
+ submodule_path)
+
def update(self):
'''Updates the cached repository using its origin remote.