git-apply: improve error detection and messages
authorLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 May 2005 21:38:49 +0000 (14:38 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 23 May 2005 21:38:49 +0000 (14:38 -0700)
commit46979f567bde4c299fa18fdc72180361511b0057
tree5b1d74e7804455c6b34a972cf2a49c1a2fec6000
parent5e224a2ed01facb1233474dd169307f499e70257
git-apply: improve error detection and messages

In particular, give line numbers when detecting corrupt patches.
This makes the tool a lot more friendly (indeed, much more so
than regular "patch", I think).
apply.c