]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/LeiRemote.pm
lei: hexdigest mocks account for unwanted headers
[public-inbox.git] / lib / PublicInbox / LeiRemote.pm
index e7deecb8b7c3847f717349b3935f4f788b6b621a..580787c042c4e317d7c79ddab425c05b0816d2f3 100644 (file)
@@ -32,7 +32,7 @@ sub _each_mboxrd_eml { # callback for MboxReader->mboxrd
                $smsg = $res if ref($res) eq ref($smsg);
        }
        $smsg->{blob} //= $xoids ? (keys(%$xoids))[0]
-                               : git_sha(1, $eml)->hexdigest;
+                               : $lei->git_blob_id($eml);
        $smsg->populate($eml);
        $smsg->{mid} //= '(none)';
        push @{$self->{smsg}}, $smsg;