Re: [PATCH] Do not drop data from '\0' until eol in patch output
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 7, 2006, 10:52 UTC
- Message-ID
- <7vslld1ycq.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <1152268424350-git-send-email-sf@b-i-t.de>
Stephan Feder <sf@b-i-t.de> writes:
> 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>
Thanks.
I do not think this patch is _wrong_ per se, but I wonder what you would use a patch like that for. Specifically, do you apply such a patch with NUL and other binary data in it, and if so what tool do you use?