composer/composer — pull request #342 by mikey179 (2012-02-20 23:21:17+00:00)
Title: Git error handling

In case git is not installed and there is a dependency to a package with dev version Composer will now stop the installation/update process and notify the user instead it couldn't execute the command. This will prevent any further errors because of the missing package (see #340 for some more details).

The fix is just to check for the return code of the executed git command line, and to throw a `RuntimeException` in case it's not zero.