summaryrefslogtreecommitdiff
path: root/t/t8005
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2018-07-16 01:27:53 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-07-16 14:27:38 -0700
commit509f6f62a4b0dfd1c06dc2120ad06b9d50a1b64a (patch)
treedba66de4dbd8b10a203e29550cbf525c9d67a59a /t/t8005
parentSecond batch for 2.19 cycle (diff)
downloadtgif-509f6f62a4b0dfd1c06dc2120ad06b9d50a1b64a.tar.xz
cache: update object ID functions for the_hash_algo
Most of our code has been converted to use struct object_id for object IDs. However, there are some places that still have not, and there are a variety of places that compare equivalently sized hashes that are not object IDs. All of these hashes are artifacts of the internal hash algorithm in use, and when we switch to NewHash for object storage, all of these uses will also switch. Update the hashcpy, hashclr, and hashcmp functions to use the_hash_algo, since they are used in a variety of places to copy and manipulate buffers that need to move data into or out of struct object_id. This has the effect of making the corresponding oid* functions use the_hash_algo as well. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t8005')
0 files changed, 0 insertions, 0 deletions