From: Phillip Wood Date: Tue, 27 Oct 2026 10:57:54 GMT Subject: [PATCH 0/3] sequencer: fix cleanup of REBASE_HEAD and AUTO_MERGE Message-ID: We had an error report [1] that REBASE_HEAD was still present after a rebase had finished. While looking at that I noticed the same could happen to AUTO_MERGE. These patches ensure those refs are removed by "git rebase --continue" so that they are not left behind after the rebase has finished. Thanks to Long for the bug report and Matt for the confirmation [1] https://lore.kernel.org/git/edfc868b-6be6-4871-a539-e70791db216d@mail.ru base-commit: 7e34d8174dcda3435d1404c9a30bef46afe6c13e Published-As: https://github.com/phillipwood/git/releases/tag/pw%2Fsequencer-delete-REBASE_HEAD%2Fv1 View-Changes-At: https://github.com/phillipwood/git/compare/7e34d8174...2fcb42a08 Fetch-It-Via: git fetch https://github.com/phillipwood/git pw/sequencer-delete-REBASE_HEAD/v1 Phillip Wood (3): test_ref_missing(): improve error message sequencer: remove REBASE_HEAD at the end of a rebase sequencer: remove AUTO_MERGE at the end of a rebase sequencer.c | 13 ++++++++----- t/t3403-rebase-skip.sh | 6 +++++- t/t3407-rebase-abort.sh | 4 ++++ t/t3418-rebase-continue.sh | 10 ++++++++-- t/test-lib-functions.sh | 6 ++++-- 5 files changed, 29 insertions(+), 10 deletions(-) -- 2.56.0.336.g97505d19352