3 test_description
='apply a patch that is larger than the preimage'
30 test_expect_success setup
'
34 sed -e "s/1/11/" -e "s/999999/9/" -e "s/H/HH/" <G >F &&
36 sed -e "/^\$/d" <G >F &&
41 test_expect_success
'apply should fail gracefully' '
42 test_must_fail git apply --index patch &&
43 test_path_is_missing .git/index.lock