commit - 37649c267b5f25a14e911b5273a9185fc3954ca3
commit + a2bed2903feedc4ea80d283220d137df051b4d69
blob - 84fc58f834745e4ab3dcf5d2910927ee553a7c36
blob + 05b4534ae786728b1c87c7368a4670dfe962a2a5
--- swh/loader/git/loader.py
+++ swh/loader/git/loader.py
branches[ref_name] = SnapshotBranch(
target=target, target_type=target_type
)
- else:
+ elif self.base_snapshots:
# The object pointed at by this ref was not fetched, supposedly
# because it existed in the base snapshot. We record it here,
# and we can get it from the base snapshot later.