commit - 11d49a78db785e502777cd2273407d1902b3ee01
commit + 387c45f4c7dcbeea29112789e8c87b5bd973ce37
blob - 91f10ecb4e51bcd46d60a900c648ee90ea643aba
blob + 83e9e758949ae582b359469d41573bd1b3f44205
--- swh/loader/git/loader.py
+++ swh/loader/git/loader.py
ref_object_hex = tagged_object_hex
# TODO: Allow tags pointing at blobs or trees?
- if obj is None or obj.type_name != b"commit":
+ if obj is None:
+ continue
+ if obj.type_name != b"commit":
logger.debug(
f" tag {ref_name} resolves to a {obj.type_name}, not a commit"
)