Show More
@@ -348,7 +348,7 b' class GitCommit(base.BaseCommit):' | |||||
348 | "Cannot find one of parents' directories for a given " |
|
348 | "Cannot find one of parents' directories for a given " | |
349 | "path: %s" % path) |
|
349 | "path: %s" % path) | |
350 |
|
350 | |||
351 |
if type_ |
|
351 | if type_ in ['link', 'commit']: | |
352 | url = self._get_submodule_url(path) |
|
352 | url = self._get_submodule_url(path) | |
353 | node = SubModuleNode(path, url=url, commit=tree_id, |
|
353 | node = SubModuleNode(path, url=url, commit=tree_id, | |
354 | alias=self.repository.alias) |
|
354 | alias=self.repository.alias) |
General Comments 0
You need to be logged in to leave comments.
Login now