]> git.ipfire.org Git - thirdparty/git.git/commit - rebase-interactive.c
sequencer: refactor append_todo_help() to write its message to a buffer
authorAlban Gruin <alban.gruin@gmail.com>
Fri, 10 Aug 2018 16:51:35 +0000 (18:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Aug 2018 18:56:22 +0000 (11:56 -0700)
commita9f5476fbca515171e42a4e06b584a9241341ae9
treec735c2ecd646c8b50b181065d1494891d1f5e744
parent4df66c40b08931eb224964f12decbb0f660cf932
sequencer: refactor append_todo_help() to write its message to a buffer

This refactors append_todo_help() to write its message to a buffer
instead of the todo-list.  This is needed for the rewrite of
complete_action(), which will come after the next commit.

As rebase--helper still needs the file manipulation part of
append_todo_help(), it is extracted to a temporary function,
append_todo_help_to_file().  This function will go away after the
rewrite of complete_action().

Signed-off-by: Alban Gruin <alban.gruin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase--helper.c
rebase-interactive.c
rebase-interactive.h