diff options
author | Taylor Blau <me@ttaylorr.com> | 2025-01-23 12:34:33 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-01-23 10:28:17 -0800 |
commit | f0c266af4ea7e4d9b84955f8fed8ee8cb009cbd8 (patch) | |
tree | a3affce87a5d00bc9c5ee043febee5786dd511a3 /commit.c | |
parent | 7b081d2f70feb7eadd1e93f52146e5d68371451d (diff) |
csum-file.c: use unsafe_hash_algo()
Instead of calling the unsafe_ hash function variants directly, make use
of the shared 'algop' pointer by initializing it to:
f->algop = unsafe_hash_algo(the_hash_algo);
, thus making all calls use the unsafe variants directly.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions