]> Sergey Matveev's repositories - public-inbox.git/commit
solvergit: allow passing arg to user-supplied callback
authorEric Wong <e@80x24.org>
Wed, 25 Dec 2019 07:51:03 +0000 (07:51 +0000)
committerEric Wong <e@80x24.org>
Sat, 28 Dec 2019 19:38:10 +0000 (19:38 +0000)
commitb316f7541ec263fd04ea50530a1d500f43773299
treed78a59ef1cd86a61481b91dba3020b41e8365688
parentbc23e3dc4b252dc7e9b6f3824afe74d85456b689
solvergit: allow passing arg to user-supplied callback

This allows us to get rid of the requirement to capture
on-stack variables with an anonymous sub, as illustrated
with the update to viewvcs to take advantage of this.

v2: fix error handling for missing OIDs
lib/PublicInbox/SolverGit.pm
lib/PublicInbox/ViewVCS.pm
t/solver_git.t