]> Sergey Matveev's repositories - public-inbox.git/commit
solver: minor cleanups to diff extraction
authorEric Wong <e@80x24.org>
Sat, 4 Jan 2020 03:34:15 +0000 (03:34 +0000)
committerEric Wong <e@80x24.org>
Sat, 4 Jan 2020 03:34:36 +0000 (03:34 +0000)
commit0563ed29d37ae46733e3001f390bb9a1c5b04d6b
treebc376d7ed74239d020c05bf437cab83091941aa9
parentd13ab9e514cbae66e911f9c88e09d3213c34a952
solver: minor cleanups to diff extraction

Initialize the $di hashref at use to make it more obvious it's
a local variable.  We can also use the :utf8 IO layer via
open+print to save ourselves the trouble of converting the UTF-8
patch to an octet stream.
lib/PublicInbox/SolverGit.pm