diff options
author | Eric Wong <e@80x24.org> | 2024-03-08 21:05:03 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2024-03-10 21:35:59 +0000 |
commit | 003829cdaa583d66c5af7564296d266952e0f12f (patch) | |
tree | 10b5fdb5f0c4ea88a21e41ebaafffdf29d95cae5 /lib/PublicInbox/LeiSearch.pm | |
parent | 84ed7ec1c88721c25955d61f5904250fb07d7af6 (diff) | |
download | public-inbox-003829cdaa583d66c5af7564296d266952e0f12f.tar.gz |
Noticed while tracking down fast-import crash bug report. Link: https://public-inbox.org/meta/CAL_JsqK7P4gjLPyvzxNEcYmxT4j6Ah5f3Pz1RqDHxmysTg3aEg@mail.gmail.com/
Diffstat (limited to 'lib/PublicInbox/LeiSearch.pm')
-rw-r--r-- | lib/PublicInbox/LeiSearch.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/PublicInbox/LeiSearch.pm b/lib/PublicInbox/LeiSearch.pm index 29e3213f..684668c5 100644 --- a/lib/PublicInbox/LeiSearch.pm +++ b/lib/PublicInbox/LeiSearch.pm @@ -103,6 +103,8 @@ sub xoids_for { for my $o (@overs) { my ($id, $prev); while (my $cur = $o->next_by_mid($mid, \$id, \$prev)) { + # {bytes} may be '' from old bug + $cur->{bytes} = 1 if $cur->{bytes} eq ''; next if $cur->{bytes} == 0 || $xoids->{$cur->{blob}}; $git->cat_async($cur->{blob}, \&_cmp_1st, |