From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: Any idea why the git repo is so huge Date: Tue, 02 Feb 2010 16:12:30 +0000 Message-ID: References: <4B681AA8.2000308@manor-farm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NcLNC-0006bk-MM for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 11:13:06 -0500 Received: from [199.232.76.173] (port=54928 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NcLNC-0006bB-AZ for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 11:13:06 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NcLNA-0003hv-Hd for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 11:13:06 -0500 Received: from lo.gmane.org ([80.91.229.12]:60446) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NcLNA-0003hd-1h for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 11:13:04 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NcLN7-0004lt-HG for emacs-orgmode@gnu.org; Tue, 02 Feb 2010 17:13:01 +0100 Received: from cpc2-cmbg15-2-0-cust694.5-4.cable.virginmedia.com ([86.26.14.183]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2010 17:13:01 +0100 Received: from sdl.web by cpc2-cmbg15-2-0-cust694.5-4.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2010 17:13:01 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On 2010-02-02 12:29 +0000, Ian Barton wrote: >> >> The git repo I just checked out a minute ago is 54M, 20 times bigger >> than the org lisp files. Any idea why it is so large? Thanks. >> >> Leo >> > Don't forget it has a complete history of all org development since > the initial import of the source. > > You may be able to reduce the size of your local repo by running: > > git gc > > See http://kernel.org/pub/software/scm/git-core/docs/v1.6.0.6/git-gc.html > > Ian. Of course. But git is supposed to be very efficient in storing history and other things. I remembered when it first appeared when Linus was still maintaining it, it could have the Linux kernel's source tree with complete history and other things within 1.5 times the size of the net source. Git gc won't help because 54M is the size of the first checkout. Leo