Thread (16 messages) 16 messages, 5 authors, 2021-11-16

Re: [PATCH 2/4] commit-graph: rewrite to use checksum_valid()

flat view

From: Jeff King <hidden>
Date: 2021-06-24 19:42:38

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help