rebase-interactive: use todo_list_write_to_file() in edit_todo_list()
authorAlban Gruin <redacted>
Tue, 5 Mar 2019 19:18:01 +0000 (20:18 +0100)
committerJunio C Hamano <redacted>
Thu, 7 Mar 2019 00:17:57 +0000 (09:17 +0900)
commitddb81e50724002645d7ec7d9ffdb714d02a47759
treea7ab39d1ae267659d0ebabdd8f55977242fe4c20
parent6bfeb7f1b503cf3fa0fd5690c0c98a9813c7c875
rebase-interactive: use todo_list_write_to_file() in edit_todo_list()

Just like complete_action(), edit_todo_list() used a
function (transform_todo_file()) that read the todo list from the disk
and wrote it back, resulting in useless disk accesses.

This changes edit_todo_list() to call directly todo_list_write_to_file()
instead.

Signed-off-by: Alban Gruin <redacted>
Signed-off-by: Junio C Hamano <redacted>
rebase-interactive.c
sequencer.c
sequencer.h
git clone https://git.99rst.org/PROJECT