diff options
author | Eric Wong <e@80x24.org> | 2021-08-14 00:29:44 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-08-14 05:57:47 +0000 |
commit | ea9b01fc63f864435370d3bc9cec674ce03e887e (patch) | |
tree | 68316244d55e7ce43442a0025da666ef7b4817ef /lib/PublicInbox/LeiRemote.pm | |
parent | 7d576adffbbd61f04278937d882d7ffde570cecd (diff) | |
download | public-inbox-ea9b01fc63f864435370d3bc9cec674ce03e887e.tar.gz |
PublicInbox::Import never imports @UNWANTED_HEADERS, so ensure our mock blob OIDs do the same. This ought to prevent duplicates if the PSGI mboxrd download starts setting "X-Status: F" like "lei q -tt .."
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 e7deecb8..580787c0 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] - : git_sha(1, $eml)->hexdigest; + : $lei->git_blob_id($eml); $smsg->populate($eml); $smsg->{mid} //= '(none)'; push @{$self->{smsg}}, $smsg; |