]> git.ipfire.org Git - thirdparty/git.git/commit
hash.h: drop unsafe_ function variants
authorTaylor Blau <me@ttaylorr.com>
Thu, 23 Jan 2025 17:34:42 +0000 (12:34 -0500)
committerJunio C Hamano <gitster@pobox.com>
Thu, 23 Jan 2025 18:28:17 +0000 (10:28 -0800)
commit04292c3796bb92664f6111326215d9c060ef71c8
tree96add9d736af4dddb02e60afd23e209e98a85813
parenta8dd3821fe4fcf1524537ef97e4f5e2cf68ce949
hash.h: drop unsafe_ function variants

Now that all callers have been converted from:

    the_hash_algo->unsafe_init_fn();

to

    unsafe_hash_algo(the_hash_algo)->init_fn();

and similar, we can remove the scaffolding for the unsafe_ function
variants and force callers to use the new unsafe_hash_algo() mechanic
instead.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
hash.h
object-file.c