rebase -i: rewrite init_basic_state() in C
commitd59cd14de8e05111f45ad55a507493225cd849bc
authorAlban Gruin <alban.gruin@gmail.com>
Tue, 28 Aug 2018 12:10:41 +0000 (28 14:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 29 Aug 2018 20:38:18 +0000 (29 13:38 -0700)
treeba850f6e8b3c45b917293e3522352a10400727ef
parent65850686cf072d6de88880247adb7113db8a52f2
rebase -i: rewrite init_basic_state() in C

This rewrites init_basic_state() from shell to C.  The call to
write_basic_state() in cmd_rebase__helper() is replaced by a call to the
new function.

The shell version is then stripped from git-rebase--interactive.sh.

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