summaryrefslogtreecommitdiff
path: root/Documentation/RelNotes/1.6.3.4.txt
diff options
context:
space:
mode:
authorLibravatar Alban Gruin <alban.gruin@gmail.com>2019-01-29 16:01:46 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2019-01-29 12:09:24 -0800
commit6ad656db9b2d2426a0a884b431e8adc9877101bc (patch)
tree380e995210735a71810703f59fbe88f3872c4d47 /Documentation/RelNotes/1.6.3.4.txt
parentsequencer: make the todo_list structure public (diff)
downloadtgif-6ad656db9b2d2426a0a884b431e8adc9877101bc.tar.xz
sequencer: remove the 'arg' field from todo_item
The 'arg' field of todo_item used to store the address of the first byte of the parameter of a command in a todo list. It was associated with the length of the parameter (the 'arg_len' field). This replaces the 'arg' field by 'arg_offset'. This new field does not store the address of the parameter, but the position of the first character of the parameter in the buffer. todo_item_get_arg() is added to return the address of the parameter of an item. This will prevent todo_list_add_exec_commands() from having to do awful pointer arithmetics when growing the todo list buffer. Signed-off-by: Alban Gruin <alban.gruin@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/RelNotes/1.6.3.4.txt')
0 files changed, 0 insertions, 0 deletions