Re: [GSoC][PATCH v3 02/13] rebase--interactive: rewrite append_todo_help() in C
- Date: Tue, 10 Jul 2018 14:21:28 +0200
- From: Alban Gruin <alban.gruin@xxxxxxxxx>
- Subject: Re: [GSoC][PATCH v3 02/13] rebase--interactive: rewrite append_todo_help() in C
Le 10/07/2018 à 14:15, Alban Gruin a écrit :
> This rewrites append_todo_help() from shell to C. It also incorporates
> some parts of initiate_action() and complete_action() that also write
> help texts to the todo file.
> This also introduces the source file rebase-interactive.c. This file
> will contain functions necessary for interactive rebase that are too
> specific for the sequencer, and is part of libgit.a.
> Two flags are added to rebase--helper.c: one to call
> append_todo_help() (`--append-todo-help`), and another one to tell
> append_todo_help() to write the help text suited for the edit-todo
> mode (`--write-edit-todo`).
> Finally, append_todo_help() is removed from git-rebase--interactive.sh
> to use `rebase--helper --append-todo-help` instead.
> Signed-off-by: Alban Gruin <alban.gruin@xxxxxxxxx>
> Unchanged from what have been queued on `pu` (ag/rebase-i-in-c), and
> from v2.
Sorry, this has actually changed since v2.