We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 91b464c + d5e763e commit 830025bCopy full SHA for 830025b
git/objects/submodule/base.py
@@ -1402,6 +1402,10 @@ def iter_items(
1402
# END handle keyerror
1403
# END handle critical error
1404
1405
+ # Make sure we are looking at a submodule object
1406
+ if type(sm) != git.objects.submodule.base.Submodule:
1407
+ continue
1408
+
1409
# fill in remaining info - saves time as it doesn't have to be parsed again
1410
sm._name = n
1411
if pc != repo.commit():
0 commit comments