Getting ProjectPlus to work correctly with Git OS X installer on Leopard
Update: Check out Leeky's slides.
Getting up and running with it was simple enough using the Git OS X installer.
I also installed the awesome ProjectPlus plug-in for TextMate (put it into ~/Library/Application Support/TextMate/Plugins, creating any of the folders that don't already exist) which gives TortoiseSVN-style overlay icons for Git and SVN. Although it worked off the bat for SVN (via the built-in SVN in Leopard), I didn't get the icon overlays for Git repositories.
The problem, according to this comment, on the ProjectPlus announcement post, is that ProjectPlus expects Git to be in a certain place (/usr/local/bin/git) whereas the OS X installer installs it in /usr/local/git/bin/git. In order to fix this, just create a symbolic link:
ln -s /usr/local/git/bin/git /usr/local/bin/git
Restart TextMate and bring up a project that's under Git and you should see your lovely iconic overlays. (This shouldn't affect you if you used Macports to install Git.)
The Getting ProjectPlus to work correctly with Git OS X installer on Leopard article by Aral Balkan, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial 2.0 UK: England License.
Subscribe to my blog






Ciarán Walsh
To install a .tmplugin file you should just double-click it (TextMate will automatically create the folder if necessary and then move the plug-in there, and it will prompt you to restart TextMate).
As for setting up your path: what you should do is go into TextMate’s preferences and then switch to the Advanced section and choose the Shell Variables tab. Then make a new variable called TM_GIT, and set it to the path to your git executable.
This way you don’t have to mess about with symlinks, and it will also work with the Git bundle (http://gitorious.org/projects/git-tmbundle).
September 7th, 2008 at 11:40 pmDominic Mitchell
I’ll second the Git bundle as being really, really useful. Definitely worth checking out.
September 8th, 2008 at 6:58 amJake Camara
Super helpful — thanks Aral.
April 10th, 2009 at 5:45 pm