stable
Clone or download
Read-only
request #25318: Enable support of the Git protocol v2 over HTTP(S)
You can see the difference when interacting with a remote with GIT_TRACE_PACKET enabled. For example: GIT_TRACE_PACKET=1 git -c protocol.version=2 fetch --no-tags <remote> <branch_name> GIT_TRACE_PACKET=1 git -c protocol.version=0 fetch --no-tags <remote> <branch_name> Note that modern(ish) version of Git will try to use the protocol version 2 by default. Change-Id: I6c22fd8a1eac80171549406cb055969a1a7bfe2b
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/git/include/Git/HTTP/Command.class.php | +4 | −1 | Go to diff View file |