Re: [PATCH] Do not drop data from '\0' until eol in patch output
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jul 7, 2006, 12:03 UTC
- Message-ID
- <7vd5chzkop.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <44AE431C.4090509@b-i-t.de>
sf <sf@b-i-t.de> 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.