We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 73be612 + 4d491ad commit 4a4df70Copy full SHA for 4a4df70
sequencer.c
@@ -2721,6 +2721,7 @@ static int check_merge_commit_insn(enum todo_command command)
2721
return error(_("cannot squash merge commit into another commit"));
2722
2723
case TODO_MERGE:
2724
+ case TODO_DROP:
2725
return 0;
2726
2727
default:
t/t3404-rebase-interactive.sh
@@ -2278,6 +2278,7 @@ test_expect_success 'non-merge commands reject merge commits' '
2278
edit $oid
2279
fixup $oid
2280
squash $oid
2281
+ drop $oid # acceptable, no advice
2282
EOF
2283
(
2284
set_replace_editor todo &&
0 commit comments