We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d67b4e commit 1c32013Copy full SHA for 1c32013
t/t3506-cherry-pick-ff.sh
@@ -64,10 +64,10 @@ test_expect_success 'merge setup' '
64
git checkout -b new A
65
'
66
67
-test_expect_success 'cherry-pick a non-merge with --ff and -m should fail' '
+test_expect_success 'cherry-pick explicit first parent of a non-merge with --ff' '
68
git reset --hard A -- &&
69
- test_must_fail git cherry-pick --ff -m 1 B &&
70
- git diff --exit-code A --
+ git cherry-pick --ff -m 1 B &&
+ git diff --exit-code C --
71
72
73
test_expect_success 'cherry pick a merge with --ff but without -m should fail' '
0 commit comments