diff options
-rw-r--r-- | morphlib/git.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/git.py b/morphlib/git.py index 70222acb..6a5a9a47 100644 --- a/morphlib/git.py +++ b/morphlib/git.py @@ -107,7 +107,7 @@ class Submodules(object): # list objects in the parent repo tree to find the commit # object that corresponds to the submodule commit = gitcmd(self.app.runcmd, 'ls-tree', self.ref, - submodule.name, cwd=self.repo) + submodule.path, cwd=self.repo) # read the commit hash from the output fields = commit.split() |