Merge branch 'jc/rebase-detach-fix'
commitf81853674929cc1dfef6c3f97e4ece9072ba0b0a
authorJunio C Hamano <gitster@pobox.com>
Tue, 29 Mar 2022 19:22:03 +0000 (29 12:22 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Mar 2022 19:22:03 +0000 (29 12:22 -0700)
tree58f59302b3d564a8c876703e7463041d4f0991e5
parent5fe35fcc790f6df1839ff984896f9d5e6710d012
parentbdff97a3f6e66107abd136815c8fa1eda5c67aca
Merge branch 'jc/rebase-detach-fix'

"git rebase $base $non_branch_commit", when $base is an ancestor or
the $non_branch_commit, modified the current branch, which has been
corrected.

* jc/rebase-detach-fix:
  rebase: set REF_HEAD_DETACH in checkout_up_to_date()
  rebase: use test_commit helper in setup