Closed AdrianHu99 closed 6 years ago
git fetch was improved a lot.
Prior to protocol v2, servers responded to all fetch commands with an initial reference advertisement, listing all references in the repository.
e.g.: git fetch origin master
. For repositories that contain 100s of thousands of references (the Chromium repository has over 500k branches and tags) the server could end up sending 10s of megabytes of data that get ignored.
https://opensource.googleblog.com/2018/05/introducing-git-protocol-version-2.html