Skip to content

Commit

Permalink
t3428: restore coverage for "apply" backend
Browse files Browse the repository at this point in the history
This test file assumes the "apply" backend is the default which is not
the case since 2ac0d62 (rebase: change the default backend from "am"
to "merge", 2020-02-15).  The way "merge" backend honors "--signoff" is
already tested elsewhere, so make sure the "apply" backend is tested by
specifying it explicitly.

Signed-off-by: Phillip Wood <[email protected]>
  • Loading branch information
phillipwood committed Apr 12, 2024
1 parent cbe355e commit 7d796c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/t3428-rebase-signoff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ test_expect_success 'setup' '

# We configure an alias to do the rebase --signoff so that
# on the next subtest we can show that --no-signoff overrides the alias
test_expect_success 'rebase --signoff adds a sign-off line' '
git rbs HEAD^ &&
test_expect_success 'rebase --apply --signoff adds a sign-off line' '
git rbs --apply HEAD^ &&
test_commit_message HEAD expected-signed
'

Expand Down

0 comments on commit 7d796c7

Please sign in to comment.