]> git.ipfire.org Git - thirdparty/git.git/commit
t3406: rework rebase reflog tests
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Wed, 12 Oct 2022 09:35:06 +0000 (09:35 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 17 Oct 2022 19:55:03 +0000 (12:55 -0700)
commit4e5e1b4b616f0354218ff2e2ff3c71e4c730bbe1
treee4f6d2b953b28b086c57d462cdfd0c6c23e61e0d
parent57a1498592986c7532a37dd7f3eb96dc72d75878
t3406: rework rebase reflog tests

Refactor the tests in preparation for adding more tests in the next
few commits. The reworked tests use the same function for testing both
the "merge" and "apply" backends. The test coverage for the "apply"
backend now includes setting GIT_REFLOG_ACTION.

Note that rebasing the "conflicts" branch does not create any
conflicts yet. A commit to do that will be added in the next commit
and the diff ends up smaller if we have don't rename the branch when
it is added.

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3406-rebase-message.sh