pr-1672/phillipwood/rebase-reject-merges-v2
tagged this
08 Apr 14:16
If the user tries to pick a merge commit error out when parsing the todo list rather than complaining when trying to pick the commit. Thanks to Patrick and Rubén for their comments on V1. Changes since V1: * Rebased to avoid a conflict with jk/core-comment-string * Patch 1 is a new preparatory change that plumbs 'struct replay_opts' through to parse_insn_line() * Patch 2 is updated to use is_rebase_i() rather than requiring the caller to pass a boolean indicating whether we're rebasing. Phillip Wood (2): rebase -i: pass struct replay_opts to parse_insn_line() rebase -i: improve error message when picking merge builtin/rebase.c | 17 +++++++---- rebase-interactive.c | 21 ++++++++----- rebase-interactive.h | 9 ++++-- sequencer.c | 57 ++++++++++++++++++++++++++++------- sequencer.h | 4 +-- t/t3404-rebase-interactive.sh | 33 ++++++++++++++++++++ 6 files changed, 111 insertions(+), 30 deletions(-) base-commit: 19981daefd7c147444462739375462b49412ce33 Submitted-As: https://lore.kernel.org/git/pull.1672.v2.git.1712585787.gitgitgadget@gmail.com In-Reply-To: https://lore.kernel.org/git/pull.1672.git.1708945087691.gitgitgadget@gmail.com
Assets 2
-
2024-04-08T14:16:28Z -
2024-04-08T14:16:28Z -