]> Sergey Matveev's repositories - public-inbox.git/commit
solver: reduce "git apply" invocations
authorEric Wong <e@80x24.org>
Sun, 27 Jan 2019 00:34:35 +0000 (00:34 +0000)
committerEric Wong <e@80x24.org>
Sun, 27 Jan 2019 02:22:07 +0000 (02:22 +0000)
commit84d1e7fdf92e2658cf539e35ce779638e2f10670
treebaca993e71a0dc004425f72d3ab0e7f0fc7bc3ce
parent8a7653c1e4b1305b95db7e65c7ad00d2a50bbce1
solver: reduce "git apply" invocations

"git apply" is capable of applying multiple patches in one
invocation, so give it multiple patches on the command-line
now that we no longer rely on anonymous file handles to hold
patches.

This cuts down a 64-patch series on git@vger from ~1s to ~800ms
with vfork spawn enabled using Inline::C.
lib/PublicInbox/SolverGit.pm