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 is part of the effort to rewrite interactive rebase in C.
Changes since v2:
- Renaming the variable `edit_todo` to `write_edit_todo` to avoid
confusions, after a comment by Christian Couder[1].
[1] https://github.com/git/git/pull/503#discussion_r193392270
Alban Gruin (1):
rebase--interactive: rewrite append_todo_help() in C
builtin/rebase--helper.c | 10 ++++++--
git-rebase--interactive.sh | 52 ++--------------------------------------
sequencer.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++
sequencer.h | 1 +
4 files changed, 71 insertions(+), 52 deletions(-)
--
2.16.4