# HG changeset patch # User Marcin Kuzminski # Date 2019-12-03 13:59:06 # Node ID 4f985c11b5c50416109367cbc6a68b65ad16b74a # Parent 55adecde027705214885dd989f8bc2f21719e8e0 git: fixed issue with git submodules detection. diff --git a/rhodecode/lib/vcs/backends/git/commit.py b/rhodecode/lib/vcs/backends/git/commit.py --- a/rhodecode/lib/vcs/backends/git/commit.py +++ b/rhodecode/lib/vcs/backends/git/commit.py @@ -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)