Skip to content

RFC Protocol version 2

Stefan Beller git 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 RFC Latest16 patches 27 repliesIn review
  2. v111 patches 49 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/16stringlist: add from_space_separated_stringstring-list.c string-list.h+13 -03 replies
2/16upload-pack: make client capability parsing code a separate functionupload-pack.c+23 -210 replies
3/16connect: rewrite feature parsing to work on string_listbuiltin/receive-pack.c connect.c connect.h +1 more+51 -541 reply
4/16upload-pack-2: Implement the version 2 of upload-pack.gitignore Makefile upload-pack-2.c +1 more+86 -182 replies
5/16remote.h: Change get_remote_heads return to voidconnect.c remote.h+8 -103 replies
6/16remote.h: add new struct for optionsremote.h+14 -03 replies
7/16transport: add infrastructure to support a protocol version numberremote.h transport-helper.c transport.c +1 more+23 -00 replies
8/16transport: select transport version via command line or configbuiltin/fetch.c remote.c+8 -00 replies
9/16remote.h: add get_remote_capabilities, request_capabilitiesconnect.c remote.h+40 -01 reply
10/16transport: connect_setup appends protocol version numbertransport.c+15 -25 replies
11/16remote: have preselect_capabilitiesconnect.c remote.h+29 -01 reply
12/16transport: get_refs_via_connect exchanges capabilities before refs.transport.c transport.h+30 -42 replies
13/16fetch-pack: use the configured transport protocolbuiltin/fetch-pack.c fetch-pack.c fetch-pack.h+80 -523 replies
14/16t5544: add a test case for the new protocolt/t5544-fetch-2.sh+40 -01 reply
15/16Documentation/technical/pack-protocol: Mention http as possible protocolDocumentation/technical/pack-protocol.txt+3 -32 replies
16/16Document protocol version 2Documentation/technical/pack-protocol.txt Documentation/technical/protocol-capabilities.txt+74 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [RFCv2 00/16] Protocol version 2

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
Signature · 1 line
2.4.1.345.gab207b6.dirty