Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge branch 'bw/protocol-v2'
The beginning of the next-gen transfer protocol. * bw/protocol-v2: (35 commits) remote-curl: don't request v2 when pushing remote-curl: implement stateless-connect command http: eliminate "# service" line when using protocol v2 http: don't always add Git-Protocol header http: allow providing extra headers for http requests remote-curl: store the protocol version the server responded with remote-curl: create copy of the service name pkt-line: add packet_buf_write_len function transport-helper: introduce stateless-connect transport-helper: refactor process_connect_service transport-helper: remove name parameter connect: don't request v2 when pushing connect: refactor git_connect to only get the protocol version once fetch-pack: support shallow requests fetch-pack: perform a fetch using v2 upload-pack: introduce fetch server command push: pass ref prefixes when pushing fetch: pass ref prefixes when fetching ls-remote: pass ref prefixes when requesting a remote's refs transport: convert transport_get_remote_refs to take a list of ref prefixes ...
- Loading branch information
Showing
with
3,318 additions
and 368 deletions.
- +1 −0 .gitignore
- +1 −0 Documentation/Makefile
- +32 −0 Documentation/gitremote-helpers.txt
- +395 −0 Documentation/technical/protocol-v2.txt
- +6 −1 Makefile
- +2 −0 builtin.h
- +1 −1 builtin/clone.c
- +18 −2 builtin/fetch-pack.c
- +19 −2 builtin/fetch.c
- +13 −2 builtin/ls-remote.c
- +6 −0 builtin/receive-pack.c
- +1 −1 builtin/remote.c
- +18 −2 builtin/send-pack.c
- +30 −0 builtin/serve.c
- +74 −0 builtin/upload-pack.c
- +269 −95 connect.c
- +7 −0 connect.h
- +333 −6 fetch-pack.c
- +3 −1 fetch-pack.h
- +2 −0 git.c
- +6 −2 http-backend.c
- +8 −17 http.c
- +7 −0 http.h
- +96 −0 ls-refs.c
- +10 −0 ls-refs.h
- +119 −14 pkt-line.c
- +78 −0 pkt-line.h
- +2 −0 protocol.c
- +1 −0 protocol.h
- +14 −0 refs.c
- +7 −0 refs.h
- +276 −4 remote-curl.c
- +9 −2 remote.h
- +257 −0 serve.c
- +15 −0 serve.h
- +64 −0 t/helper/test-pkt-line.c
- +176 −0 t/t5701-git-serve.sh
- +273 −0 t/t5702-protocol-v2.sh
- +54 −33 transport-helper.c
- +10 −1 transport-internal.h
- +99 −31 transport.c
- +17 −1 transport.h
- +466 −150 upload-pack.c
- +23 −0 upload-pack.h
Oops, something went wrong.