Files
git/builtin
Alban Gruin f2a04904be sequencer: refactor rearrange_squash() to work on a todo_list
This refactors rearrange_squash() to work on a todo_list to avoid
redundant reads and writes.  The function is renamed
todo_list_rearrange_squash().

The old version created a new buffer, which was directly written to the
disk.  This new version creates a new item list by just copying items
from the old item list, without creating a new buffer.  This eliminates
the need to reparse the todo list, but this also means its buffer cannot
be directly written to the disk.

As rebase -p still need to check the todo list from the disk, a new
function is introduced, rearrange_squash_in_todo_file().

complete_action() still uses rearrange_squash_in_todo_file() for now.
This will be changed in a future commit.

Signed-off-by: Alban Gruin <alban.gruin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-03-07 09:17:57 +09:00
..
2019-01-04 13:33:33 -08:00
2018-05-13 10:45:05 +09:00
2019-01-04 13:33:33 -08:00
2018-10-19 13:34:02 +09:00
2018-10-19 13:34:02 +09:00
2018-10-19 13:34:02 +09:00
2019-01-04 13:33:33 -08:00
2018-10-16 16:16:02 +09:00
2019-01-04 13:33:32 -08:00
2018-10-26 14:22:13 +09:00
2018-11-13 22:37:27 +09:00
2019-01-04 13:33:33 -08:00
2018-05-30 14:04:05 +09:00
2019-01-04 13:33:33 -08:00
2019-01-04 13:33:33 -08:00
2018-08-20 15:31:40 -07:00
2019-01-04 13:33:33 -08:00
2019-01-04 13:33:33 -08:00
2018-10-19 13:34:02 +09:00
2019-01-04 13:33:33 -08:00
2019-01-04 13:33:33 -08:00
2019-01-04 13:33:31 -08:00
2019-01-04 13:33:31 -08:00
2019-01-04 13:33:33 -08:00
2019-01-04 13:33:33 -08:00
2019-01-04 13:33:33 -08:00
2018-08-29 11:32:49 -07:00
2018-08-27 14:33:43 -07:00
2018-03-15 12:01:08 -07:00
2018-05-29 00:28:22 +09:00