It also makes git submodules even more painful, in particular when a branch points to a different origin than master. For example in https://github.com/Sjors/libwally-swift/commits/dev contains a submodule that points to a fork.
This PR removes the conversion from branch name to commit hash.
I'm completely oblivious to rationale for #57, so sorry if this doesn't make any sense.
When a branch name is present, it's replaced by a git hash. This breaks shallow clones (as remarked by @simson2010 https://github.com/CocoaPods/cocoapods-downloader/pull/57#commitcomment-20566222.
It also makes git submodules even more painful, in particular when a branch points to a different origin than master. For example in https://github.com/Sjors/libwally-swift/commits/dev contains a submodule that points to a fork.
This PR removes the conversion from branch name to commit hash.