]> Sergey Matveev's repositories - public-inbox.git/commit
favor git(1) rather than libgit2 for ExtSearch
authorEric Wong <e@80x24.org>
Thu, 24 Jun 2021 05:50:04 +0000 (05:50 +0000)
committerEric Wong <e@80x24.org>
Thu, 24 Jun 2021 12:59:40 +0000 (12:59 +0000)
commit9c42ece6dfddf4156dc3016e2fa8835bf3d8aca1
treec47b1ae3c5e3817eb67337152f8d1e27e3238f2b
parent5ef37f4a13e2be711ef074dc2cd9994005273117
favor git(1) rather than libgit2 for ExtSearch

While both git and libgit2 take around 16 minutes to load 100K
alternates there's already a proposed patch to make git faster:

  <https://lore.kernel.org/git/20210624005806.12079-1-e@80x24.org/>

It's also easier to patch and install git locally since the
git.git build system defaults to prefix=$HOME and dealing with
dynamic linking with libgit2 is more difficult for end users
relying on Inline::C.

libgit2 remains in use for the non-ALL.git case, but maybe it's
not necessary (libgit2 is significantly slower than git in
Debian 10 due to SHA-1 collision checking).
Documentation/technical/ds.txt
lib/PublicInbox/GitAsyncCat.pm
lib/PublicInbox/GzipFilter.pm
lib/PublicInbox/HTTPD.pm
lib/PublicInbox/IMAP.pm
lib/PublicInbox/NNTP.pm
lib/PublicInbox/SolverGit.pm