summaryrefslogtreecommitdiff
path: root/t/t5405-send-pack-rewind.sh
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2021-04-26 01:02:54 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-27 16:31:38 +0900
commit0e5e2284f1267293e56e8948143f6cd04c74e2ed (patch)
treed67e9c08be028e4a6d121c1881c6b884ca467471 /t/t5405-send-pack-rewind.sh
parentUse the final_oid_fn to finalize hashing of object IDs (diff)
downloadtgif-0e5e2284f1267293e56e8948143f6cd04c74e2ed.tar.xz
builtin/pack-redundant: avoid casting buffers to struct object_id
Now that we need our instances of struct object_id to be zero padded, we can no longer cast unsigned char buffers to be pointers to struct object_id. This file reads data out of the pack objects and then inserts it directly into a linked list item which is a pointer to struct object_id. Instead, let's have the linked list item hold its own struct object_id and copy the data into it. In addition, since these are not really pointers to struct object_id, stop passing them around as such, and call them what they really are: pointers to unsigned char. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5405-send-pack-rewind.sh')
0 files changed, 0 insertions, 0 deletions