git: fixed issue with git submodules detection.
This commit is contained in:
parent
62724b55c2
commit
0bed1e9849
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ class GitCommit(base.BaseCommit):
|
|||
"Cannot find one of parents' directories for a given "
|
||||
"path: %s" % path)
|
||||
|
||||
if type_ == 'link':
|
||||
if type_ in ['link', 'commit']:
|
||||
url = self._get_submodule_url(path)
|
||||
node = SubModuleNode(path, url=url, commit=tree_id,
|
||||
alias=self.repository.alias)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue