summaryrefslogtreecommitdiff
path: root/t/t5535-fetch-push-symref.sh
diff options
context:
space:
mode:
authorLibravatar brian m. carlson <sandals@crustytoothpaste.net>2019-01-15 00:39:42 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-15 09:57:41 -0800
commit36775ab524a1d180aaaac089e25b5aeb87793a17 (patch)
tree7edeb9206226bfeac21298e834a7f9e30656b8ad /t/t5535-fetch-push-symref.sh
parenttree-walk: copy object ID before use (diff)
downloadtgif-36775ab524a1d180aaaac089e25b5aeb87793a17.tar.xz
match-trees: compute buffer offset correctly when splicing
Currently, the struct object_id pointer returned from tree_entry_extract lives directly inside the parsed tree buffer. In a future commit, this will change so that it instead points to a dedicated struct member. Since in this code path, we want to modify the buffer directly, compute the buffer offset we want to modify by using the pointer to the path instead. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5535-fetch-push-symref.sh')
0 files changed, 0 insertions, 0 deletions