author | Junio C Hamano <junkio@cox.net> | |
Wed, 16 Nov 2005 22:12:56 +0000 (14:12 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 16 Nov 2005 22:12:56 +0000 (14:12 -0800) | ||
commit | 92927ed0aac56a86f85049215791fcd106af4b62 | |
tree | 7c9261390297ed1d52097d2dd2fc76b9a1b337b6 | tree | snapshot |
parent | 5b4525eb8b6a4a131d0cc10075165829f754dcc2 | commit | diff |
git-apply: fail if a patch cannot be applied.
Recently we fixed 'git-apply --stat' not to barf on a binary
differences. But it accidentally broke the error detection when
we actually attempt to apply them.
This commit fixes the problem and adds test cases.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Recently we fixed 'git-apply --stat' not to barf on a binary
differences. But it accidentally broke the error detection when
we actually attempt to apply them.
This commit fixes the problem and adds test cases.
Signed-off-by: Junio C Hamano <junkio@cox.net>
apply.c | diff | blob | history | |
t/t4103-apply-binary.sh | [new file with mode: 0644] | blob |