Updated universal git package for Mac OS X:
(I made the mpkg on Leopard, but compiled the code on Tiger. This should work on both, but I haven’t tried the installer on Tiger. I’ve also tried to include libexpat, and thus git-http-push support. Let me know if there are any issues)
Update: I’ve rebuilt the package, which should install all the git builtin programs (which are exactly the same as the main git binary, but with a different name) as hard links, not as independent programs. This will take up less space on your hard disk, but the installer is the same size (!). If this doesn’t work for you, use the non-hard-linky installer.


Loading...
Konstantin K | 05-Apr-08 at 9:29 pm | Permalink
csm,
I noticed that many of the git-* binaries under /usr/local/bin are identical copies of each other. Most weigh in at 2M, which makes the whole package bloat.
My point being, if you find a way to package those duplicates as soft links, you would save yourself a lot of bandwidth.
Oh, also. Would you consider sharing / publishing source of your (xcode?) project?
And most importantly — thank you for this convenient package!
csm | 05-Apr-08 at 11:22 pm | Permalink
The git source package doesn’t install symlinks for these, and I’m not sure why. The installer is made from the files as-installed. It would be nice to optimize this, but really, it’s not a lot of space these days.
I’m just compiling it using the configure script, and use the pre-made man pages (there’s another tarball with these on the git site). I wrote the recipe for doing this in this comment:
http://metastatic.org/text/Concern/2007/08/18/git-package-for-mac-os-x/#comment-44899
I’m using PackageMaker.app to make the installer, which is dirt-simple to use.
Thanks!
[edit: posted the wrong link; fixed]
csm | 05-Apr-08 at 11:46 pm | Permalink
Also: on Linux, these programs seem to be installed as hard links to the same file. The installation on OS-X doesn’t seem to do this.
peter | 10-Apr-08 at 11:06 am | Permalink
I believe git is moving away from using the git-init style commands, and towards git init subcommands instead. Means there’s only need for 1 file in /bin (or whereever).
Just something to consider for the future.
itsnotvalid | 15-Apr-08 at 7:54 am | Permalink
I saw from Git’s wiki that they have a project in Google code: http://code.google.com/p/git-osx-installer.
seems to provide Leopard versions of Git binary.
But anyways good job for what you have done.
csm | 15-Apr-08 at 8:21 pm | Permalink
Good for them.
Justin | 28-May-08 at 10:32 am | Permalink
Thanks for this!!
eric pugh | 19-Jun-08 at 6:25 am | Permalink
Seems like Git is advancing quickly.. I attempting to use Braid, and the latest version will only run with Git 1.5.4.5! Any chance of making another Tiger package?
Jon Kulp | 21-Jul-08 at 11:26 am | Permalink
Thanks so much for this package! The macports repo wasn’t working for this package–kept hanging on the rsync fetch–so I’m very grateful for this!