]> git.ipfire.org Git - thirdparty/git.git/commit
t2407: test branches currently using apply backend
authorDerrick Stolee <derrickstolee@github.com>
Tue, 19 Jul 2022 18:33:34 +0000 (18:33 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jul 2022 19:49:03 +0000 (12:49 -0700)
commit18ea59582778bd0b80fc643bc4e2981275d2300d
treef2d26f7ce5e622e9ebaff2133fdafe005b19da82
parent1bec4d1dfd68653c6590a0cf0bf12831810bc21e
t2407: test branches currently using apply backend

The tests in t2407 that verify the branch_checked_out() helper in the
case of bisects and rebases were added by 9347303db89 (branch: check for
bisects and rebases, 2022-06-08). However, that commit failed to check
for rebases that are using the 'apply' backend.

Add a test that checks the apply backend. The implementation was already
correct here, but it is good to have regression tests before modifying
the implementation further.

Signed-off-by: Derrick Stolee <derrickstolee@github.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t2407-worktree-heads.sh