3 # Copyright (c) 2005 Fredrik Kuivinen
6 test_description='Test merge with directory/file conflicts'
9 test_expect_success 'prepare repository' \
10 'echo "Hello" > init &&
12 git commit -m "Initial commit" &&
15 echo "foo" > dir/foo &&
17 git commit -m "File: dir/foo" &&
19 echo "file dir" > dir &&
21 git commit -m "File: dir"'
23 test_expect_code 1 'Merge with d/f conflicts' 'git merge "merge msg" B master'