From: sf Date: Fri, 07 Jul 2006 11:18:52 GMT Subject: Re: [PATCH] Do not drop data from '\0' until eol in patch output Message-ID: <44AE431C.4090509@b-i-t.de> In-Reply-To: <7vslld1ycq.fsf@assigned-by-dhcp.cox.net> Junio C Hamano wrote: > Stephan Feder 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 > > 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? > GNU patch can apply patches with binary content which are typically produced with GNU diff with --text option.