]> Sergey Matveev's repositories - public-inbox.git/commit
lei_mirror: avoid needless FD passing
authorEric Wong <e@80x24.org>
Mon, 28 Nov 2022 05:32:11 +0000 (05:32 +0000)
committerEric Wong <e@80x24.org>
Mon, 28 Nov 2022 23:38:58 +0000 (23:38 +0000)
commit7bca685c1733a2565a833f1f695e2b740d45b7f6
tree05da1cfcf028abae33a5378f9e84662379c5e5a2
parent37131af8eb12f6b0d715fd291c885cafec8be577
lei_mirror: avoid needless FD passing

Most git processes we invoke don't care about stdin nor stdout,
so don't waste cycles and memory dealing with it.

stderr passing is added `git config --unset-all remotes.fgrptmp'
invocation, though, since that can fail due to I/O errors or OOM.
lib/PublicInbox/LeiMirror.pm