Skip to content

Commit e896a28

Browse files
committed
Merge branch 'jn/demote-proto2-from-default'
Those fetching over protocol v2 from linux-next and other kernel repositories are reporting that v2 often fetches way too much than needed. * jn/demote-proto2-from-default: Revert "fetch: default to protocol version 2"
2 parents 035c6ad + 11c7f2a commit e896a28

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/config/protocol.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ protocol.version::
4848
If set, clients will attempt to communicate with a server
4949
using the specified protocol version. If the server does
5050
not support it, communication falls back to version 0.
51-
If unset, the default is `2`.
51+
If unset, the default is `0`.
5252
Supported versions:
5353
+
5454
--

protocol.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ enum protocol_version get_protocol_version_config(void)
3939
return env;
4040
}
4141

42-
return protocol_v2;
42+
return protocol_v0;
4343
}
4444

4545
enum protocol_version determine_protocol_version_server(void)

0 commit comments

Comments
 (0)