]> Sergey Matveev's repositories - public-inbox.git/commit
lei: fix git-credential handling
authorEric Wong <e@80x24.org>
Fri, 2 Apr 2021 09:42:54 +0000 (05:42 -0400)
committerEric Wong <e@80x24.org>
Fri, 2 Apr 2021 21:03:44 +0000 (17:03 -0400)
commitdb56b898582789a0962e82b2c3cff56dd110d951
tree209885539c8b7185ad1a1bbebddf2c93d15f6c9f
parent883db1e765b9fd0af7ed50b8c5df5527f566f0ba
lei: fix git-credential handling

I completely forgot about git-credential prompting when
making lei background the client process for MUA.

Now it backgrounds itself only for the MUA when no FDs are
passed, since the MUA is the final command run.  Otherwise, it
relies on FD passing as before.

Fixes: c790a75439f3a1db ("script/lei: background ourselves on MUA/pager exec")
lib/PublicInbox/LEI.pm
script/lei