]> git.ipfire.org Git - thirdparty/git.git/commit
builtin/repack: avoid "the_hash_algo" in `repack_promisor_objects()`
authorTaylor Blau <me@ttaylorr.com>
Wed, 15 Oct 2025 22:27:38 +0000 (18:27 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Oct 2025 17:08:53 +0000 (10:08 -0700)
commita7a5a607b9c21c7988782cf8ed04078ca320c784
tree1c79e7c416dd0bae91b0fbf7017acf73959399e5
parent9a53583b77c35576f87b7e29cb109b46d29ad803
builtin/repack: avoid "the_hash_algo" in `repack_promisor_objects()`

In a similar spirit as the previous commits, avoid referring directly to
"the_hash_algo" within builtin/repack.c::repack_promisor_objects().

Since there is already a repository pointer in scope, use its hash_algo
value instead.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/repack.c