diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2014-11-04 17:11:42 +0000 |
---|---|---|
committer | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2014-11-04 17:11:42 +0000 |
commit | 696e8e45e586b54e4fc634cab8d0f90c67fcf6a7 (patch) | |
tree | b826944f9c58f9bdf7589c112d4d76ecec8f4d19 /morphlib | |
parent | ac9e6787cd2b82bc37b9ba71d09d44aac71f85b1 (diff) | |
download | morph-696e8e45e586b54e4fc634cab8d0f90c67fcf6a7.tar.gz |
Check for commit object in submodule pathbaserock/franred/check-for-commit-object-in-submodule-path
Fix checking for commit object in submodules which their path and
name are not the same.
Diffstat (limited to 'morphlib')
-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() |