diff options
author | Junio C Hamano <gitster@pobox.com> | 2025-02-03 10:23:32 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-02-03 10:23:32 -0800 |
commit | caf17423d375e97919ace904cd527b4d26cc3e43 (patch) | |
tree | 71c5a991de3301e04ef05c91e06d6c1e409a42a0 /commit.c | |
parent | 58b5801aa94ad5031978f8e42c1be1230b3d352f (diff) | |
parent | 04292c3796bb92664f6111326215d9c060ef71c8 (diff) |
Merge branch 'tb/unsafe-hash-cleanup'
The API around choosing to use unsafe variant of SHA-1
implementation has been updated in an attempt to make it harder to
abuse.
* tb/unsafe-hash-cleanup:
hash.h: drop unsafe_ function variants
csum-file: introduce hashfile_checkpoint_init()
t/helper/test-hash.c: use unsafe_hash_algo()
csum-file.c: use unsafe_hash_algo()
hash.h: introduce `unsafe_hash_algo()`
csum-file.c: extract algop from hashfile_checksum_valid()
csum-file: store the hash algorithm as a struct field
t/helper/test-tool: implement sha1-unsafe helper
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions