Do not drop data from '\0' until eol in patch output
commitc9c95bbc9c9f7b8a3c87ab486b4aec220a239577
authorStephan Feder <sf@b-i-t.de>
Fri, 7 Jul 2006 10:33:44 +0000 (7 12:33 +0200)
committerJunio C Hamano <junkio@cox.net>
Fri, 7 Jul 2006 10:48:10 +0000 (7 03:48 -0700)
tree71aeec2e363c19b111868dc5b94b7defa765fe07
parent97beb812dbbba750e6c9326a7f25655ebcf7bb44
Do not drop data from '\0' until eol in patch output

The binary file detection is just a heuristic which can well fail.
Do not produce garbage patches in these cases.

Signed-off-by: Stephan Feder <sf@b-i-t.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c