summaryrefslogtreecommitdiff
path: root/midx.c
diff options
context:
space:
mode:
authorLibravatar Taylor Blau <me@ttaylorr.com>2021-06-23 14:39:09 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-06-28 20:36:17 -0700
commit15316a4732eeb0dab27ba406cb80e8704cb9b46d (patch)
tree109d13e62b616781dd7147f4a401f214bbe3afcc /midx.c
parentcsum-file: introduce checksum_valid() (diff)
downloadtgif-15316a4732eeb0dab27ba406cb80e8704cb9b46d.tar.xz
commit-graph: rewrite to use checksum_valid()
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. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'midx.c')
0 files changed, 0 insertions, 0 deletions