composer/composer — pull request #1243 by 1stvamp (2012-10-22 02:23:37+00:00)
Title: Check for github token from git config even when running in non-interactive mode

Even if Composer is invoked in non-interactive mode it should try to get a GitHub access token from `git config` as this would be a common use case, and is certainly ours.

I notice this code was moved to a Github Util, I moved it back for easy of invocation from the driver prior to erroring due to being in non-interactive mode, but could do the same as the `authorizeOAuth` helper method and have the git config instantiate a GitHelp util first.