diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-06-14 08:50:13 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-06-14 10:26:33 -0700 |
commit | 9c34eb93fba703e74f06d20f5b36a1a5e3dc6486 (patch) | |
tree | bca28f26a6fdd7eebd872ca733ac7af9ed7dc86b /commit.c | |
parent | 861e8c76f6668a8cbb764ec0ea3ba425dfb86b2a (diff) |
hash: require hash algorithm in `is_empty_{blob,tree}_oid()`
Both functions `is_empty_{blob,tree}_oid()` use `the_repository` to
derive the hash function that shall be used. Require callers to pass in
the hash algorithm to get rid of this implicit dependency.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions