]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/rebase.c
rebase: use a common action enum
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 17 Apr 2019 14:30:43 +0000 (15:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Apr 2019 08:32:10 +0000 (17:32 +0900)
commit297b1e177377444cba9a5364a4c6ce676ededb4d
treee8270791a93e7375b280bd7b6f363a43d5f0beb9
parent0ea0847ef0f6d548fe3a3c6720f99323408b2a50
rebase: use a common action enum

cmd_rebase() and cmd_rebase__interactive() used different enums to hold
the current action. Change to using a common enum so the values are the
same when we change `rebase -i` to avoid forking `rebase--interactive`.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c