]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rebase.c
builtin rebase: support --edit-todo and --show-current-patch
authorPratik Karki <predatoramigo@gmail.com>
Wed, 8 Aug 2018 15:06:20 +0000 (20:51 +0545)
committerJunio C Hamano <gitster@pobox.com>
Thu, 6 Sep 2018 18:55:58 +0000 (11:55 -0700)
commit51e9ea6da76eb129e40a4fafaee6c2cdbcbe0d62
tree118f77fe02e2d26b7d4a5fccc081f4edcb5fb6d7
parent5a61494539bb549127695d42d7160f0562ed7bf7
builtin rebase: support --edit-todo and --show-current-patch

While these sub-commands are very different in spirit, their
implementation is almost identical, so we convert them in one go.

And since those are the last sub-commands that needed to be converted,
now we can also turn that `default:` case into a bug (because we should
now handle all the actions).

Signed-off-by: Pratik Karki <predatoramigo@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c