summaryrefslogtreecommitdiff
path: root/object-file.c
diff options
context:
space:
mode:
authorTaylor Blau <me@ttaylorr.com>2025-01-23 12:34:26 -0500
committerJunio C Hamano <gitster@pobox.com>2025-01-23 10:28:16 -0800
commit5fcc683338e947d1226a9426174e7c48ce849c47 (patch)
treef82df4632dbcf62074948c9143980051ab5fb823 /object-file.c
parent48524fac643afd7ec70d43684902598ad6d5b954 (diff)
csum-file.c: extract algop from hashfile_checksum_valid()
Perform a similar transformation as in the previous commit, but focused instead on hashfile_checksum_valid(). This function does not work with a hashfile structure itself, and instead validates the raw contents of a file written using the hashfile API. We'll want to be prepared for a similar change to this function in the future, so prepare ourselves for that by extracting 'the_hash_algo' into its own field for use within this function. Signed-off-by: Taylor Blau <me@ttaylorr.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object-file.c')
0 files changed, 0 insertions, 0 deletions