Revert "fetch: default to protocol version 2"
commit11c7f2a30b9dadcccc7bde66a34e0cb0cb5cf52c
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 22 Apr 2020 15:50:47 +0000 (22 08:50 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 22 Apr 2020 18:37:44 +0000 (22 11:37 -0700)
tree3efc3b8e1b7f418b3b328cbc42bf1c952f5ff919
parent0da63da7942ce810126cd54d9f72a46f3d616895
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>
Documentation/config/protocol.txt
protocol.c