aboutsummaryrefslogtreecommitdiffstats
path: root/tree-walk.c
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2023-10-01 21:40:17 -0500
committerJunio C Hamano <gitster@pobox.com>2023-10-02 14:57:39 -0700
commit095261a18d91cf47e8e8ef3b55f5e88e52ffc85f (patch)
treee911cf01112411d9fb900e99e2c316909850a730 /tree-walk.c
parent867386d0c8aa0ea9edb683585b69b20f96c4f776 (diff)
downloadgit-095261a18d91cf47e8e8ef3b55f5e88e52ffc85f.tar.gz
cache: add a function to read an OID of a specific algorithm
Currently, we always read a object ID of the current algorithm with oidread. However, once we start converting objects, we'll need to consider what happens when we want to read an object ID of a specific algorithm, such as the compatibility algorithm. To make this easier, let's define oidread_algop, which specifies which algorithm we should use for our object ID, and define oidread in terms of it. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'tree-walk.c')
0 files changed, 0 insertions, 0 deletions