cocoapods-downloader
cocoapods-downloader copied to clipboard
Fix bug of Git shallow cloning is not used when branch is set
Fix https://github.com/CocoaPods/cocoapods-downloader/issues/106
@dnkoutso I cleaned the branch and update the changelog
@dimohamdy Hi,I noticed the line of code you deleted:
# lib/cocoapods-downloader/git.rb
options.delete(:branch)
The relevant code comes from a PR #57 , which is used to deal with the cache problem of cocoapods(:git && :branch). If you delete this line of code, it may affect the pod (:git && :branch) cache detection of cocoapods. I don’t know if you have tested these scenarios.
Any chance, this gets merged?
This would be useful to have 🙏