oortcloud/meteorite — pull request #165 by kevinxucs (2013-06-29 23:00:51+00:00)
Title: Set GIT_DIR environment variable when executing git checkout.

This is the work around for using meteorite inside a git hook script.
Since in a post-receive git hook, GIT_DIR variable is always set to ".",
so when you executing `git checkout`, it will fail. The work around is
just manually set GIT_DIR to the .git inside the package.