3 # Copyright (c) 2006 Catalin Marinas
6 test_description
='git-apply trying to add an ending line.
13 cat >test-patch
<<\EOF
14 diff --git a
/file b
/file
27 test_expect_success setup \
28 'git-update-index --add file'
32 test_expect_failure
'apply at the end' \
33 'git-apply --index test-patch'
35 cat >test-patch
<<\EOF
50 test_expect_failure
'apply at the beginning' \
51 'git-apply --index test-patch'