From: Junio C Hamano Date: Fri, 07 Jul 2006 12:03:18 GMT Subject: Re: [PATCH] Do not drop data from '\0' until eol in patch output Message-ID: <7vd5chzkop.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <44AE431C.4090509@b-i-t.de> sf writes: > GNU patch can apply patches with binary content which are typically > produced with GNU diff with --text option. Hmph. Things must have improved since I looked at it the last time, perhaps 6-7 years ago. I remember that I used "diff -a -u0" as an el-cheapo way to deliber binary contents but found that patch sometimes could not grok such, and ended up writing a small customized C program.