Skip to content

ref-in-want

Brandon Williams git 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest8 patches 4 repliesIn review
  2. v58 patches 14 repliesSuperseded
  3. v48 patches 3 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v38 patches11 repliesSuperseded
v28 patches20 repliesSuperseded
v18 patches10 repliesSuperseded

Changes in v6 from the cover letter

* Stricter checks in tests
* Change the name of a test to better reflect what is being tested
* Various style issues fixed in shell scripts
* Renamed one-time-sed.sh to apply-one-time-sed.sh
* Client now errors out when an unexpected ref is sent from the server during the wanted-ref section. Also changed the docs around the server's responsibility with the refs that are sent during this section.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8test-pkt-line: add unpack-sideband subcommandt/helper/test-pkt-line.c+33 -00 replies
2/8upload-pack: implement ref-in-wantDocumentation/config.txt Documentation/technical/protocol-v2.txt t/t5703-upload-pack-ref-in-want.sh +1 more+260 -10 replies
3/8upload-pack: test negotiation with changing repositoryt/lib-httpd.sh t/lib-httpd/apache.conf t/lib-httpd/apply-one-time-sed.sh +1 more+99 -00 replies
4/8fetch: refactor the population of peer ref OIDsbuiltin/fetch.c+18 -180 replies
5/8fetch: refactor fetch_refs into two functionsbuiltin/fetch.c+18 -50 replies
6/8fetch: refactor to make function args narrowerbuiltin/fetch.c+26 -260 replies
7/8fetch-pack: put shallow info in output parameterbuiltin/clone.c builtin/fetch.c fetch-object.c +5 more+77 -240 replies
8/8fetch-pack: implement ref-in-wantfetch-pack.c remote.c remote.h +1 more+186 -310 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchJonathan Nieder
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH v6 0/8] ref-in-want

Changes in v6:
* Stricter checks in tests
* Change the name of a test to better reflect what is being tested
* Various style issues fixed in shell scripts
* Renamed one-time-sed.sh to apply-one-time-sed.sh
* Client now errors out when an unexpected ref is sent from the server during the wanted-ref section. Also changed the docs around the server's responsibility with the refs that are sent during this section.

Brandon Williams (8):
test-pkt-line: add unpack-sideband subcommand
upload-pack: implement ref-in-want
upload-pack: test negotiation with changing repository
fetch: refactor the population of peer ref OIDs
fetch: refactor fetch_refs into two functions
fetch: refactor to make function args narrower
fetch-pack: put shallow info in output parameter
fetch-pack: implement ref-in-want

 Documentation/config.txt                |   7 +
 Documentation/technical/protocol-v2.txt |  28 +-
 builtin/clone.c                         |   4 +-
 builtin/fetch.c                         | 135 +++++----
 fetch-object.c                          |   2 +-
 fetch-pack.c                            |  53 +++-
 remote.c                                |   1 +
 remote.h                                |   1 +
 t/helper/test-pkt-line.c                |  33 +++
 t/lib-httpd.sh                          |   1 +
 t/lib-httpd/apache.conf                 |   8 +
 t/lib-httpd/apply-one-time-sed.sh       |  22 ++
 t/t5703-upload-pack-ref-in-want.sh      | 377 ++++++++++++++++++++++++
 transport-helper.c                      |   6 +-
 transport-internal.h                    |   9 +-
 transport.c                             |  34 ++-
 transport.h                             |   3 +-
 upload-pack.c                           |  66 +++++
 18 files changed, 715 insertions(+), 75 deletions(-)
 create mode 100644 t/lib-httpd/apply-one-time-sed.sh
 create mode 100755 t/t5703-upload-pack-ref-in-want.sh
Signature · 1 line
2.18.0.399.gad0ab374a1-goog