composer/composer — pull request #467 by RobLoach (2012-03-16 17:24:23+00:00)
Title: Use Git Hooks with Composer

Provide "post-checkout" git hook documentation that updates Composer's dependencies whenever a checkout is run.

http://book.git-scm.com/5_git_hooks.html