Getting ProjectPlus to work correctly with Git OS X installer on Leopard

I'm giving Git a shot after attending Leeky's great introduction to it at BarcampBrighton3.

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.)

Comments