On Wed, Jun 23, 2021 at 02:39:09PM -0400, Taylor Blau wrote:
Rewrite an existing caller in `git commit-graph verify` to take
advantage of checksum_valid().
Note that the replacement isn't a verbatim cut-and-paste, since the new
function avoids using hashfile at all and instead talks to the_hash_algo
directly, but it is functionally equivalent.
Yay. IMHO the result is much nicer, as we do not have to wonder about
open() returning an error.
-Peff