]> Sergey Matveev's repositories - public-inbox.git/commit
import: init_bare: allow use as method, use in tests
authorEric Wong <e@yhbt.net>
Sun, 19 Apr 2020 23:19:34 +0000 (23:19 +0000)
committerEric Wong <e@yhbt.net>
Mon, 20 Apr 2020 20:18:16 +0000 (20:18 +0000)
commitd55abcc42bde846d9047491125dd2b32645dafd8
treea7dd9274b4790732aaa401757490919d3e8296b7
parentb3a04ae18a42ed960c89cc81c209633da6976380
import: init_bare: allow use as method, use in tests

Allowing ->init_bare to be used as a method saves some
keystrokes, and we can save a little bit of time on systems with
our vfork(2)-enabled spawn().

This also sets us up for future improvements where we can
avoid spawning a process at all.
23 files changed:
lib/PublicInbox/Import.pm
lib/PublicInbox/V2Writable.pm
t/admin.t
t/altid.t
t/cgi.t
t/config.t
t/convert-compact.t
t/feed.t
t/git.t
t/html_index.t
t/import.t
t/mda.t
t/nulsubject.t
t/psgi_attach.t
t/psgi_mount.t
t/psgi_text.t
t/search-thr-index.t
t/solver_git.t
t/v1-add-remove-add.t
t/v1reindex.t
t/watch_maildir.t
t/watch_maildir_v2.t
t/www_listing.t