X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=t%2Ft4104-apply-boundary.sh;h=c617c2a33d8e8ac1dc7e049f9056ca6025fbf852;hb=3a3a29c1da97b36dda2761c2e6b61c1a82e20a54;hp=0e3ce3611d9e83ab290ce034f2439961864ce30a;hpb=712d352577012d5035da69bbf49ea0f0df8bb7da;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