diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2019-01-15 00:39:42 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-01-15 09:57:41 -0800 |
commit | 36775ab524a1d180aaaac089e25b5aeb87793a17 (patch) | |
tree | 7edeb9206226bfeac21298e834a7f9e30656b8ad /t/t4034/objc/post | |
parent | tree-walk: copy object ID before use (diff) | |
download | tgif-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/t4034/objc/post')
0 files changed, 0 insertions, 0 deletions