On Tue, 17 Mar 2009 23:00:02 +0000 Ian Lynagh <ig...@earth.li> wrote:
> > git is surprisingly (to me) large, but I don't know what it stores. > > int-e suggested the use of "git gc --aggressive": > $ git gc --aggressive Counting objects: 23057, done. Compressing objects: 100% (21366/21366), done. Writing objects: 100% (23057/23057), done. Total 23057 (delta 15669), reused 0 (delta 0) Removing duplicate objects: 100% (256/256), done. $ cd .. $ du -sb git-side 25641358 git-side $ time git clone git-side gs-clone Initialized empty Git repository in /tmp/g/gs-clone/.git/ real 0m0.164s user 0m0.080s sys 0m0.080s That made the difference, ~10x faster than "darcs get --lazy" although 2.5x larger than a lazy repo, and half the size of the complete darcs repo. ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. l...@nautilus.homeip.net | -- Fortunato Depero, 1929. _______________________________________________ darcs-users mailing list darcs-users@darcs.net http://lists.osuosl.org/mailman/listinfo/darcs-users