]> Sergey Matveev's repositories - public-inbox.git/commit
import: check for git->qx errors, clearer return values
authorEric Wong <e@80x24.org>
Sun, 27 Dec 2020 02:53:04 +0000 (02:53 +0000)
committerEric Wong <e@80x24.org>
Mon, 28 Dec 2020 23:19:48 +0000 (23:19 +0000)
commit0f545dd95ca88e69f011aa56d07494887e7df822
tree396472716c7ce389a14a04876a42b127fd9593e0
parent645ec505c03c86ed4500151737bcf3d636d9b18b
import: check for git->qx errors, clearer return values

Those git commands can fail and git->qx will set $? when it
fails.  There's no need for the extra indirection of the @ret
array, either.

Improve git->qx coverage to check for $? while we're at it.
lib/PublicInbox/Import.pm
t/git.t