[GSoC][PATCH v4 0/2] rebase -i: rewrite append_todo_help() in C
- From
Alban Gruin <alban.gruin@gmail.com>
- Date
- Jun 26, 2018, 16:16 UTC
- Message-ID
- <20180626161643.31152-1-alban.gruin@gmail.com>
- In-Reply-To
- <20180607103012.22981-1-alban.gruin@gmail.com>
This patch rewrites append_todo_help() from shell to C. The C version covers a bit more than the old shell version. To achieve that, some parameters were added to rebase--helper.
This also introduce a new source file, rebase-interactive.c.
This is part of the effort to rewrite interactive rebase in C.
This is based on next, as of 2018-06-26.
Changes since v3:
- Show an error message when append_todo_help() fails to edit the todo list.
- Introducing rebase-interactive.c to contain functions necessary for interactive rebase.
Alban Gruin (2): sequencer: make two functions and an enum from sequencer.c public rebase--interactive: rewrite append_todo_help() in C
Makefile | 1 + builtin/rebase--helper.c | 11 ++++-- git-rebase--interactive.sh | 52 ++--------------------------- rebase-interactive.c | 68 ++++++++++++++++++++++++++++++++++++++ rebase-interactive.h | 6 ++++ sequencer.c | 8 ++--- sequencer.h | 6 ++++ 7 files changed, 94 insertions(+), 58 deletions(-) create mode 100644 rebase-interactive.c create mode 100644 rebase-interactive.h
-- 2.18.0