]> git.ipfire.org Git - thirdparty/git.git/commit
rebase -i: rewrite the edit-todo functionality in C
authorAlban Gruin <alban.gruin@gmail.com>
Fri, 10 Aug 2018 16:51:31 +0000 (18:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 10 Aug 2018 18:56:22 +0000 (11:56 -0700)
commit64a43cbd5da23718dee242d6ad4d5823128bf564
tree7b5c399b5497773b519a7609f19c45321e8c1b7e
parent2aed01811daee2f412b795ea539a4eb5abb69510
rebase -i: rewrite the edit-todo functionality in C

This rewrites the edit-todo functionality from shell to C.

To achieve that, a new command mode, `edit-todo`, is added, and the
`write-edit-todo` flag is removed, as the shell script does not need to
write the edit todo help message to the todo list anymore.

The shell version is then stripped in favour of a call to the helper.

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