Re: How should I handle binary file with GIT
- From
Nicolas Pitre <nico@cam.org>
- Date
- Apr 5, 2006, 13:25 UTC
- Message-ID
- <Pine.LNX.4.64.0604050906590.2550@localhost.localdomain>
- In-Reply-To
- <20060405122113.60376.qmail@web25801.mail.ukl.yahoo.com>
On Wed, 5 Apr 2006, moreau francis wrote:
Show 12 quoted lines
> > --- Junio C Hamano <junkio@cox.net> a écrit : > > > It _might_ make sense to adopt a well-defined binary patch > > format (or if there is no prior art, introduce our own) and > > support that format with both git-diff-* brothers and git-apply, > > but that would be a bit longer term project. > > > > well maybe it's just stupid, but why not simply transforming binary files into > ascii files (maybe by using uuencode) before using git-diff-* brothers and > git-apply ?
Imagine if the only difference between two versions of the same file is a single byte inserted at the very beginning. The uuencode would then be totally different between the two files.
Nicolas