CocoaPods/CocoaPods — pull request #425 by pashields (2012-07-26 19:27:33+00:00)
Title: Don't call download_head directly from the installer.

download_head isn't able to handle the case where there isn't a currently cached version of the repo (as that's handled inside of download). Calling download ensures that create_cache will be called if needed.

Thanks!