Commit Diff


commit - 07211b52071c4554454e1b4ddfa01e697261c813
commit + 48d0acfaa13b01fa5b9dd9d9ea42ffdfb7daf86d
blob - bbd651c1db06670ea8a625d91d473b3781024322
blob + 11ca1f4a17a6b505934de6507765cf4de40004b2
--- swh/loader/git/converters.py
+++ swh/loader/git/converters.py
@@ -207,8 +207,8 @@ def dulwich_commit_to_revision(obj: ShaFile) -> Revisi
             assert raw_string.endswith(b"\n")
             extra_headers.append((b"mergetag", raw_string[:-1]))
 
-    if commit.extra:
-        extra_headers.extend((k, v) for k, v in commit.extra)
+    if commit._extra:
+        extra_headers.extend((k, v) for k, v in commit._extra)
 
     if commit.gpgsig:
         extra_headers.append((b"gpgsig", commit.gpgsig))