]> Sergey Matveev's repositories - public-inbox.git/commit
extmsg: don't bother partial matching with <16 chars
authorEric Wong <e@80x24.org>
Sun, 20 Jan 2019 12:33:20 +0000 (12:33 +0000)
committerEric Wong <e@80x24.org>
Sun, 20 Jan 2019 12:37:08 +0000 (12:37 +0000)
commit54be6d7a117a300e46601537b4392c0174444966
tree18c1092408238e9a2d052442123acf84ba3c6ab7
parent55db8a2a51c13aec813ac56bbaac1505791fd262
extmsg: don't bother partial matching with <16 chars

It's not worth it, and attempts to wildcard off
single-character Message-IDs(*) causes Xapian to error
out in unpredictable ways:

  something terrible happened at /usr/lib/x86_64-linux-gnu/perl5/5.24/Search/Xapian/Enquire.pm line 54.
    ...propagated at lib/PublicInbox/Search.pm line 209.

So don't bother.

(*) because people blindly hit 'y' or 'n' when git-send-email
    prompted them for In-Reply-To.
lib/PublicInbox/ExtMsg.pm