]> Sergey Matveev's repositories - public-inbox.git/commit
git: qx: avoid extra "local" for scalar context case
authorEric Wong <e@80x24.org>
Sun, 27 Dec 2020 02:53:03 +0000 (02:53 +0000)
committerEric Wong <e@80x24.org>
Mon, 28 Dec 2020 23:19:47 +0000 (23:19 +0000)
commit645ec505c03c86ed4500151737bcf3d636d9b18b
tree0aa59d53ff712d476da3ec825752fc53bef1966e
parent5f875446975b1473c1ffd7196e572e13d58ba56f
git: qx: avoid extra "local" for scalar context case

We can use the ternary operator to avoid an early return, here
lib/PublicInbox/Git.pm
t/git.t