diff options
author | Eric Wong <e@80x24.org> | 2021-09-16 09:41:14 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-09-16 20:09:35 +0000 |
commit | b833e4095c6dab8d81bbcdedaddafa4b6a2a235c (patch) | |
tree | 6c3673793096d3fb5b584d44a855bbc5c290ae34 /lib/PublicInbox/LeiRemote.pm | |
parent | 9d65d8e41fa69c0f0a13789754c5d6dc5f699b8a (diff) | |
download | public-inbox-b833e4095c6dab8d81bbcdedaddafa4b6a2a235c.tar.gz |
We'll be using binary SHA-1 and SHA-256 in-memory since that's what mail_sync.sqlite3 stores.
Diffstat (limited to 'lib/PublicInbox/LeiRemote.pm')
-rw-r--r-- | lib/PublicInbox/LeiRemote.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiRemote.pm b/lib/PublicInbox/LeiRemote.pm index 580787c0..8d4ffed0 100644 --- a/lib/PublicInbox/LeiRemote.pm +++ b/lib/PublicInbox/LeiRemote.pm @@ -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] - : $lei->git_blob_id($eml); + : $lei->git_oid($eml)->hexdigest; $smsg->populate($eml); $smsg->{mid} //= '(none)'; push @{$self->{smsg}}, $smsg; |