Why shallow clone is expensive to perform? #225
-
I find this commit that requires homebrew-core and homebrew-cask taps to be unshallow cloned but I don't why it's expensive. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
See CocoaPods/CocoaPods#4989 (comment) and https://public-inbox.org/git/[email protected]/T/. Every |
Beta Was this translation helpful? Give feedback.
-
Theoretically, for a pure linear commit history (without merges), following fetch from a shallow clone shouldn't be expensive. Could something be improved for git itself? |
Beta Was this translation helpful? Give feedback.
-
https://blog.cocoapods.org/CocoaPods-1.7.2/ CocoaPods already support http CDN for years and greatly improve the user experience. |
Beta Was this translation helpful? Give feedback.
See CocoaPods/CocoaPods#4989 (comment) and https://public-inbox.org/git/[email protected]/T/. Every
brew update
that fetches into a shallow clone has a big performance and bandwidth penalty.