t3400: restore coverage for note copying with apply backend
Now that the merge backend is the default, we have lost coverage for "git rebase --apply" copying notes. Fix this by replacing "-m" with "--apply" as the previous test which uses the default backend now checks the merge backend. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Phillip Wood committed
Jul 15, 2026 at 16:21 UTC
88101d339a07c9ccc46ac37f2a5e922fae053a71
1 file changed
+2
-2
t/t3400-rebase.sh
+2
-2
@@ -270,9 +270,9 @@ test_expect_success 'rebase can copy notes' '
270
test "a note" = "$(git notes show HEAD)"
271
'
272
273
-test_expect_success 'rebase -m can copy notes' '
273
+test_expect_success 'rebase --apply can copy notes' '
274
git reset --hard n3 &&
275
- git rebase -m --onto n1 n2 &&
275
+ git rebase --apply --onto n1 n2 &&
276
test "a note" = "$(git notes show HEAD)"
277
'
278