Skip t1300.70 and 71 on msysGit.
[git/mingw/4msysgit.git] / t / t3509-cherry-pick-merge-df.sh
blob6e7ef8483f5c62ed61515613bca6c4816523e91d
1 #!/bin/sh
3 test_description='Test cherry-pick with directory/file conflicts'
4 . ./test-lib.sh
6 test_expect_success 'Setup rename across paths each below D/F conflicts' '
7 mkdir a &&
8 >a/f &&
9 git add a &&
10 git commit -m a &&
12 mkdir b &&
13 ln -s ../a b/a &&
14 git add b &&
15 git commit -m b &&
17 git checkout -b branch &&
18 rm b/a &&
19 mv a b/a &&
20 ln -s b/a a &&
21 git add . &&
22 git commit -m swap &&
24 >f1 &&
25 git add f1 &&
26 git commit -m f1
29 test_expect_success 'Cherry-pick succeeds with rename across D/F conflicts' '
30 git reset --hard &&
31 git checkout master^0 &&
32 git cherry-pick branch
35 test_done