]> git.ipfire.org Git - thirdparty/git.git/commit
Merge branch 'pw/rebase-drop-notes-with-commit'
authorJunio C Hamano <gitster@pobox.com>
Mon, 27 Jul 2026 16:09:00 +0000 (09:09 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Jul 2026 16:09:01 +0000 (09:09 -0700)
commitf364885cb3d7ebb324d445fc9523156db278755f
tree5b58fe19cf5b100bb0ac0cdb9e1743ace01a1801
parentbb8bc6995e589018f60bbdbf16001e16d7e20d25
parent42554b78fd2c3ce252647c9c5afbf04d2f2885f5
Merge branch 'pw/rebase-drop-notes-with-commit'

The rebase post-rewrite notes-copying logic has been corrected.  When
a commit is dropped during rebase (e.g., because its changes are
already upstream), it is no longer recorded as rewritten, preventing
its notes from being copied to an unrelated commit.

* pw/rebase-drop-notes-with-commit:
  sequencer: do not record dropped commits as rewritten
  sequencer: use an enum to represent result of picking a commit
  sequencer: simplify pick_one_commit()
  sequencer: remove unnecessary condition in pick_one_commit()
  sequencer: simplify handling of fixup with conflicts
  sequencer: remove unnecessary "or" in pick_one_commit()
  sequencer: never reschedule on failed commit
  sequencer: be more careful with external merge
  t3400: restore coverage for note copying with apply backend
sequencer.c
t/t3400-rebase.sh
t/t3404-rebase-interactive.sh
t/t5407-post-rewrite-hook.sh