diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2020-04-22 17:50:47 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-04-22 20:37:44 +0200 |
commit | 11c7f2a30b9dadcccc7bde66a34e0cb0cb5cf52c (patch) | |
tree | 3efc3b8e1b7f418b3b328cbc42bf1c952f5ff919 /protocol.c | |
parent | Merge branch 'jn/promote-proto2-to-default' (diff) | |
download | git-11c7f2a30b9dadcccc7bde66a34e0cb0cb5cf52c.tar.xz git-11c7f2a30b9dadcccc7bde66a34e0cb0cb5cf52c.zip |
Revert "fetch: default to protocol version 2"
This reverts commit 684ceae32dae726c6a5c693b257b156926aba8b7.
Users fetching from linux-next and other kernel remotes are reporting
that the limited ref advertisement causes negotiation to reach
MAX_IN_VAIN, resulting in too-large fetches.
Reported-by: Lubomir Rintel <lkundrak@v3.sk>
Reported-by: "Dixit, Ashutosh" <ashutosh.dixit@intel.com>
Reported-by: Jiri Slaby <jslaby@suse.cz>
Reported-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'protocol.c')
-rw-r--r-- | protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocol.c b/protocol.c index 803bef5c87..d390391eba 100644 --- a/protocol.c +++ b/protocol.c @@ -39,7 +39,7 @@ enum protocol_version get_protocol_version_config(void) return env; } - return protocol_v2; + return protocol_v0; } enum protocol_version determine_protocol_version_server(void) |