author | Stephan Feder <sf@b-i-t.de> | |
Fri, 7 Jul 2006 10:33:44 +0000 (12:33 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 7 Jul 2006 10:48:10 +0000 (03:48 -0700) | ||
commit | c9c95bbc9c9f7b8a3c87ab486b4aec220a239577 | |
tree | 71aeec2e363c19b111868dc5b94b7defa765fe07 | tree | snapshot |
parent | 97beb812dbbba750e6c9326a7f25655ebcf7bb44 | commit | diff |
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>
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 | diff | blob | history |