summaryrefslogtreecommitdiff
path: root/git/objects/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/objects/util.py')
-rw-r--r--git/objects/util.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/git/objects/util.py b/git/objects/util.py
index 1c266563..d3f3a622 100644
--- a/git/objects/util.py
+++ b/git/objects/util.py
@@ -328,6 +328,7 @@ class Traversable(object):
# Union[IterableList['Commit'], IterableList['Submodule'], IterableList[Union['Submodule', 'Tree', 'Blob']]]
# NOTE: if is_edge=True, self.traverse returns a Tuple, so should be prevented or flattened?
+ kwargs['as_edge'] = False
out.extend(self.traverse(*args, **kwargs)) # type: ignore
return out