Do not ignore a detected patchfile brokenness.
commit5a17b54ad5543ddca60a493c613801279cc98a34
authorJunio C Hamano <junkio@cox.net>
Tue, 9 Jan 2007 10:52:31 +0000 (9 02:52 -0800)
committerJunio C Hamano <junkio@cox.net>
Tue, 9 Jan 2007 10:56:43 +0000 (9 02:56 -0800)
tree6165561c6e63a43dee372b7d7dfc5f2d8be1a96d
parent8977c110b5bbd230c28c727ddb85856067d55cfb
Do not ignore a detected patchfile brokenness.

find_header() function is used to read and parse the patchfile
and it detects errors in the patch, but one place ignored the
error and went ahead, which was quite bad.

Noticed by Jeff Garzik.

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-apply.c