commit - 0c2ef7d5d21625100807b4ee37bc74831e351a4b
commit + 430fd565ceaf00f09c92d9a11ae84dbe9033e4c7
blob - 428803447392d484a82f9ad9b99c61a6f16fe741
blob + af27860ddefacce46e019a3ec8b19f3a3c63c63f
--- swh/loader/git/loader.py
+++ swh/loader/git/loader.py
continue
parent_hash = hashutil.bytehex_to_hash(parent_hex)
commit_edges.append((commit_hash, parent_hash))
- if (
- t is False
- and parent_hex not in parents
- and parent_hex in self.pack
- ):
+ if t is False and parent_hex not in parents:
parents.append(parent_hex)
logger.debug(f"Found {len(tags)} tags and {len(commits)} commits")