]> git.ipfire.org Git - thirdparty/git.git/commit
commit-graph: stop using `the_hash_algo`
authorPatrick Steinhardt <ps@pks.im>
Fri, 15 Aug 2025 05:49:50 +0000 (07:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 15 Aug 2025 16:34:47 +0000 (09:34 -0700)
commit89cc9b9adf31729c91aa94c178b44b45febd260f
treeb2652e69ff51942c1cea7714f91cb57673ce28f5
parentf1141b43911441f3c5d0fda49d05a6433da372a3
commit-graph: stop using `the_hash_algo`

Stop using `the_hash_algo` as it implicitly relies on `the_repository`.
Instead, we either use the hash algo provided via the context or, if
there is no such hash algo, we use `the_repository` explicitly. Such
uses will be removed in subsequent commits.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit-graph.c
commit-graph.c
commit-graph.h