3 # Copyright (c) 2009 Stephen Boyd
6 test_description='git apply --build-fake-ancestor handling.'
10 test_expect_success 'setup' '
14 test_commit 3 sub/3.t &&
18 test_expect_success 'apply --build-fake-ancestor' '
24 git apply --build-fake-ancestor 1.ancestor 1.patch
27 test_expect_success 'apply --build-fake-ancestor in a subdirectory' '
35 git apply --build-fake-ancestor 3.ancestor ../3.patch &&
38 git apply --build-fake-ancestor 3.ancestor 3.patch &&
39 test_cmp sub/3.ancestor 3.ancestor