Re: git and binary files
- From
- Petko Manolov <petkan@nucleusys.com>
- Date
- Jan 16, 2008, 15:18 UTC
- Message-ID
- <alpine.DEB.1.00.0801161715570.5260@bender.nucleusys.com>
- In-Reply-To
- <alpine.LFD.1.00.0801160958170.25841@xanadu.home>
On Wed, 16 Jan 2008, Nicolas Pitre wrote:
Show 16 quoted lines
> On Wed, 16 Jan 2008, Petko Manolov wrote: > >> On Wed, 16 Jan 2008, Jakub Narebski wrote: >> >>> Petko Manolov wrote: >>>> >>>> Unfortunately this is not the case. These binary blobs are already >>>> compressed and/or encrypted and adding even a few bytes ends up storing >>>> new version in full size. >>> >>> Can't you store them uncompressed? >> >> Not really, but i can convert them into ascii format and store only the delta. > > If you don't have the original uncompressed unencrypted file, what will > converting them to ascii actually give you?
I hope that in the case of incremental changes (0 to 5MB file is the same, last 64KB are actually new) the delta will be small and should be able to compress well.
This won't work for random changes along the length of the whole file.
Petko