Skip to content

Commit

Permalink
Merge branch 'jn/demote-proto2-from-default'
Browse files Browse the repository at this point in the history
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"
  • Loading branch information
gitster committed Apr 28, 2020
2 parents 035c6ad + 11c7f2a commit e896a28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Documentation/config/protocol.txt
Expand Up @@ -48,7 +48,7 @@ protocol.version::
If set, clients will attempt to communicate with a server
using the specified protocol version. If the server does
not support it, communication falls back to version 0.
If unset, the default is `2`.
If unset, the default is `0`.
Supported versions:
+
--
Expand Down
2 changes: 1 addition & 1 deletion protocol.c
Expand Up @@ -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)
Expand Down

0 comments on commit e896a28

Please sign in to comment.