Hi, On Fri, 28 Mar 2008, timcharper wrote:
> I'm working on a semi-similar project, but not nearly as intense :) I'm > trying to help accelerate git adoption on a mac. I've created an OS X > installer (at [http://code.google.com/p/git-osx-installer/), however, > it's huge! (40MB!) > > I'm wondering, did you guys have a hard time with size at first? Were > there any compiler flags that helped reduce the install package size? There are three things we did to get the size down: - aggressive weeding of unneeded files (mostly in the Perl and Tcl/Tk part) - LZMA: this compression scheme really brings down the size of the installer. AFAIR switching from zip to 7zip, which was mainly done because of LZMA, brought down the size of msysGit-fullinstall from somewhere areound 40M to below 30M. - hard links: switching to the Inno Installer got us the hard links (most builtins are just hard links to "git") for free. And of course, the installer size goes down if you do not pack the same contents over and over again. Hth, Dscho
