[RFCv2 00/16] Protocol version 2
- From
Stefan Beller <sbeller@google.com>
- Date
- Jun 2, 2015, 00:02 UTC
- Message-ID
- <1433203338-27493-1-git-send-email-sbeller@google.com>
patches 1-4 are for the uploading side (upload-pack) and 5-13 for the fetching side.
patches 14-16 are documentation and the tiny test.
Nguyễn Thái Ngọc Duy (1): upload-pack: make client capability parsing code a separate function
Stefan Beller (15):
stringlist: add from_space_separated_string
connect: rewrite feature parsing to work on string_list
upload-pack-2: Implement the version 2 of upload-pack
remote.h: Change get_remote_heads return to void
remote.h: add new struct for options
transport: add infrastructure to support a protocol version number
transport: select transport version via command line or config
remote.h: add get_remote_capabilities, request_capabilities
transport: connect_setup appends protocol version number
remote: have preselect_capabilities
transport: get_refs_via_connect exchanges capabilities before refs.
fetch-pack: use the configured transport protocol
t5544: add a test case for the new protocol
Documentation/technical/pack-protocol: Mention http as possible
protocol
Document protocol version 2.gitignore | 1 + Documentation/technical/pack-protocol.txt | 85 ++++++++++-- Documentation/technical/protocol-capabilities.txt | 15 --- Makefile | 2 + builtin/fetch-pack.c | 22 +++- builtin/fetch.c | 6 + builtin/receive-pack.c | 13 +- connect.c | 154 +++++++++++++++------- connect.h | 2 +- fetch-pack.c | 109 ++++++++------- fetch-pack.h | 1 + remote.c | 2 + remote.h | 28 +++- string-list.c | 12 ++ string-list.h | 1 + t/t5544-fetch-2.sh | 40 ++++++ transport-helper.c | 1 + transport.c | 60 ++++++++- transport.h | 11 ++ upload-pack-2.c | 1 + upload-pack.c | 151 +++++++++++++++------ 21 files changed, 535 insertions(+), 182 deletions(-) create mode 100755 t/t5544-fetch-2.sh create mode 120000 upload-pack-2.c
-- 2.4.1.345.gab207b6.dirty