rebase: fix an incompatible-options error message
authorElijah Newren <newren@gmail.com>
Sat, 11 Apr 2020 02:44:26 +0000 (02:44 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 11 Apr 2020 21:15:54 +0000 (14:15 -0700)
commit50ed76148a96d6cf37549c0492e6da1ff85b9bd0
tree7033538a0a7f305f0fc7d70c4ccf48b3ca9b8926
parentb9cbd2958f235614e9af687691c96bb001945f86
rebase: fix an incompatible-options error message

When the user specifies the apply backend with options that only work
with the merge backend, such as

    git rebase --apply --exec /bin/true HEAD~3

the error message has always been

    fatal: --exec requires an interactive rebase

This error message is misleading and was one of the reasons we renamed
the interactive backend to the merge backend.  Update the error message
to state that these options merely require use of the merge backend.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c