From: Junio C Hamano Date: Fri, 31 Jan 2025 18:05:46 +0000 (-0800) Subject: Merge branch 'tb/unsafe-hash-cleanup' into ps/hash-cleanup X-Git-Tag: v2.49.0-rc0~47^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0cbcba54550b1ea108e977c24b835e07b96b1c0e;p=thirdparty%2Fgit.git Merge branch 'tb/unsafe-hash-cleanup' into ps/hash-cleanup * 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 --- 0cbcba54550b1ea108e977c24b835e07b96b1c0e