From mboxrd@z Thu Jan 1 00:00:00 1970 From: Petko Manolov Subject: Re: git and binary files Date: Wed, 16 Jan 2008 17:18:27 +0200 (EET) Message-ID: References: <200801161520.44668.jnareb@gmail.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Jakub Narebski , Johannes Schindelin , git@vger.kernel.org To: Nicolas Pitre X-From: git-owner@vger.kernel.org Wed Jan 16 16:20:25 2008 Return-path: Envelope-to: gcvg-git-2@gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1JFA3z-00030t-Jh for gcvg-git-2@gmane.org; Wed, 16 Jan 2008 16:20:24 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750998AbYAPPTv (ORCPT ); Wed, 16 Jan 2008 10:19:51 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751102AbYAPPTv (ORCPT ); Wed, 16 Jan 2008 10:19:51 -0500 Received: from n152-u15.cabletel.bg ([89.253.152.15]:60418 "EHLO zztop.nucleusys.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1750998AbYAPPTu (ORCPT ); Wed, 16 Jan 2008 10:19:50 -0500 Received: from bender.nucleusys.com ([192.168.234.2]) by zztop.nucleusys.com with esmtp (Exim 4.63) (envelope-from ) id 1JFA3F-0007WP-7y; Wed, 16 Jan 2008 17:19:37 +0200 In-Reply-To: User-Agent: Alpine 1.00 (DEB 882 2007-12-20) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Wed, 16 Jan 2008, Nicolas Pitre wrote: > 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