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