In 2008, over one thousand people experienced the world’s first virtual web conference. Together, we created a new type of conference that is environmentally-friendly, affordable, and interactive.

In 2009, we are going to take it one step further.


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

Post Metadata

Date
September 7th, 2008

Author
Aral

Category

Tags


2 Comments

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


  2. I’ll second the Git bundle as being really, really useful. Definitely worth checking out.


Leave a Reply