Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ic/maint-rebase-i-abort'
[gitweb.git]
/
t
/
t4104-apply-boundary.sh
diff --git
a/t/t4104-apply-boundary.sh
b/t/t4104-apply-boundary.sh
index 0e3ce3611d9e83ab290ce034f2439961864ce30a..c617c2a33d8e8ac1dc7e049f9056ca6025fbf852 100755
(executable)
--- 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