diff options
author | Patrick Steinhardt <ps@pks.im> | 2025-08-15 07:49:47 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-08-15 09:34:46 -0700 |
commit | 3481cb7dfd4407d2dae411662e978011250ec2b2 (patch) | |
tree | f0cbfdce4e4f6c5477f88834afb58a1943fdfafa /t/chainlint/nested-loop-detect-failure.test | |
parent | 64cbe5e2e8a7b0f92c780b210e602496bd5cad0f (diff) |
commit-graph: stop using `the_hash_algo` via macros
We have two macros `GRAPH_DATA_WIDTH` and `GRAPH_MIN_SIZE` that compute
hash-dependent sizes. They do so by using the global `the_hash_algo`
variable though, which we want to get rid of over time.
Convert these macros into functions that accept the hash algorithm as
input parameter. Adapt callers accordingly.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint/nested-loop-detect-failure.test')
0 files changed, 0 insertions, 0 deletions