Add integration test for dropping a todo commit when there's an update-ref

The test shows how we are accidentally dropping the wrong commit in this case.
We'll fix that in the next commit.
This commit is contained in:
Stefan Haller
2023-04-13 20:24:28 +02:00
parent a304fed68c
commit 860a8d102b
3 changed files with 78 additions and 1 deletions

View File

@@ -87,6 +87,7 @@ var tests = []*components.IntegrationTest{
interactive_rebase.AmendHeadCommitDuringRebase,
interactive_rebase.AmendMerge,
interactive_rebase.AmendNonHeadCommitDuringRebase,
interactive_rebase.DropTodoCommitWithUpdateRef,
interactive_rebase.EditFirstCommit,
interactive_rebase.EditNonTodoCommitDuringRebase,
interactive_rebase.FixupFirstCommit,