Skip to content

sequencer: fix cleanup of REBASE_HEAD and AUTO_MERGE

Phillip Wood git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3test_ref_missing(): improve error messaget/test-lib-functions.sh+4 -21 reply
2/3sequencer: remove REBASE_HEAD at the end of a rebasesequencer.c t/t3403-rebase-skip.sh t/t3407-rebase-abort.sh +1 more+17 -61 reply
3/3sequencer: remove AUTO_MERGE at the end of a rebasesequencer.c t/t3403-rebase-skip.sh t/t3407-rebase-abort.sh +1 more+8 -21 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] sequencer: fix cleanup of REBASE_HEAD and AUTO_MERGE

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/[email protected]

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(-)
Signature · 1 line
2.56.0.336.g97505d19352