diff options
author | Eric Wong <e@80x24.org> | 2023-11-30 11:40:55 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2023-11-30 21:36:49 +0000 |
commit | 782f041e7646a5e03400ebdcd07e5e23a220bf5f (patch) | |
tree | dda9e1f379cbbdd59792b3c2be46def887fdd443 | |
parent | 0e784739cc8a336d7e204b50f4efc569e79461a3 (diff) | |
download | public-inbox-782f041e7646a5e03400ebdcd07e5e23a220bf5f.tar.gz |
It's entirely possible for public inboxes to have zero patches in them, so the amount of match slots may not match match the number of joined ekeys.
-rw-r--r-- | lib/PublicInbox/CodeSearch.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/CodeSearch.pm b/lib/PublicInbox/CodeSearch.pm index 5c5774cf..60deb2ae 100644 --- a/lib/PublicInbox/CodeSearch.pm +++ b/lib/PublicInbox/CodeSearch.pm @@ -69,7 +69,7 @@ sub join_data { W: $self->{topdir} join data for $self->{-cfg_f} missing: @m EOM undef; - } elsif (@{$cur->{ekeys}} != @{$cur->{ibx2root}}) { + } elsif (@{$cur->{ekeys}} < @{$cur->{ibx2root}}) { warn <<EOM; W: $self->{topdir} join data for $self->{-cfg_f} mismatched ekeys and ibx2root EOM |