X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft4104-apply-boundary.sh;h=c617c2a33d8e8ac1dc7e049f9056ca6025fbf852;hb=f7bff60de95951d2c82601350cb3771b347e83ee;hp=0e3ce3611d9e83ab290ce034f2439961864ce30a;hpb=3fcee259d023087184c63eedf1015be6e23ea6e1;p=git.git diff --git a/t/t4104-apply-boundary.sh b/t/t4104-apply-boundary.sh index 0e3ce3611..c617c2a33 100755 --- a/t/t4104-apply-boundary.sh +++ b/t/t4104-apply-boundary.sh @@ -134,4 +134,13 @@ test_expect_success 'two lines' ' ' +test_expect_success 'apply patch with 3 context lines matching at end' ' + { echo a; echo b; echo c; echo d; } >file && + git add file && + echo e >>file && + git diff >patch && + >file && + test_must_fail git apply patch +' + test_done