diff options
| author | Alban Gruin <alban.gruin@gmail.com> | 2019-01-29 16:01:47 +0100 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-01-29 12:09:24 -0800 |
| commit | cbef27d61cd6ae4f1ecae054eb9df06e898148d8 (patch) | |
| tree | 67d0455608129847b21198766a18724dec4b30c3 /git-gui/lib/branch_rename.tcl | |
| parent | 6ad656db9b2d2426a0a884b431e8adc9877101bc (diff) | |
sequencer: refactor transform_todos() to work on a todo_list
This refactors transform_todos() to work on a todo_list. The function
is renamed todo_list_transform().
As rebase -p still need to check the todo list from the disk, a new
function is introduced, transform_todo_file(). It is still used by
complete_action() and edit_todo_list() for now, but they will be
replaced in a future commit.
todo_list_transform() is not a static function, because it will be used
by edit_todo_list() from rebase-interactive.c in a future commit.
Signed-off-by: Alban Gruin <alban.gruin@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/branch_rename.tcl')
0 files changed, 0 insertions, 0 deletions
