CocoaPods/CocoaPods — Issue #72: Add option that installs pods as submodules/externals
Author: alloy
Created: 2011-11-16 11:19:27+00:00
State: open

* This should be a flag for `pod install` or specified in the Podfile, need to mull that over.

* We need to detect the type of repo the user has, so that we only do this for pods that have the same type of VCS.
E.g. only use git submodules for git pods if the user has a git repo, but install Mercurial repos like normal.

* See if we can be smart about using the podspec from in the submodule, instead of the spec repo, in case the pod is installed as a submodule.
Right now the user would have to hardcode the location of the spec in her Podfile with:

```Ruby
dependency 'Bananas', :podspec => 'Pods/Bananas/Bananas.podspec
```