diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2019-12-23 17:04:15 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-01-15 14:03:55 -0800 |
commit | 684ceae32dae726c6a5c693b257b156926aba8b7 (patch) | |
tree | 4272769cd3d53d4c966f460eb5813378e4ef115d /t/t5515-fetch-merge-logic.sh | |
parent | protocol test: let protocol.version override GIT_TEST_PROTOCOL_VERSION (diff) | |
download | tgif-684ceae32dae726c6a5c693b257b156926aba8b7.tar.xz |
fetch: default to protocol version 2
The Git users at $DAYJOB have been using protocol v2 as a default for
~1.5 years now and others have been also reporting good experiences
with it, so it seems like a good time to bump the default version. It
produces a significant performance improvement when fetching from
repositories with many refs, such as
https://chromium.googlesource.com/chromium/src.
This only affects the client, not the server. (The server already
defaults to supporting protocol v2.) The protocol change is backward
compatible, so this should produce no significant effect when
contacting servers that only speak protocol v0.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515-fetch-merge-logic.sh')
0 files changed, 0 insertions, 0 deletions