Commit Diff
--- swh/loader/git/loader.py +++ swh/loader/git/loader.py @@ -757,6 +757,8 @@ class GitLoader(BaseGitLoader): new_vertices.append(entry_hash) new_edges.append((tree_hash, entry_hash)) if mode & stat.S_IFDIR: + if mode & stat.S_IFLNK: + continue # ignore submodules try: tree = self.pack[entry_hex] subtrees.append(entry_hash)