]> Kevux Git Server - rit/commit
rebase: simplify an assignment of options.type in cmd_rebase
authorEdmundo Carmona Antoranz <eantoranz@gmail.com>
Mon, 18 Apr 2022 17:27:21 +0000 (19:27 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 20 Apr 2022 19:42:05 +0000 (12:42 -0700)
commit52e1ab8a7692c27c288a15da2604273b401063ac
treed6733fd5bbb58460050d5adbbe79d4d473db7369
parentd516b2db0af2221bd6b13e7347abdcb5830b2829
rebase: simplify an assignment of options.type in cmd_rebase

There is an if statement where both if and else have the same
assignment of options.type to REBASE_MERGE. Simplify
it by getting that assigmnent out of the if.

Signed-off-by: Edmundo Carmona Antoranz <eantoranz@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c