Skip to content

protocol v2 fixes

Ævar Arnfjörð Bjarmason git 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 4 repliesIn review
  2. v28 patches 19 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4serve: pass "config context" through to individual commandsbuiltin/upload-pack.c ls-refs.c ls-refs.h +4 more+22 -100 replies
2/4parse_hide_refs_config: handle NULL sectionrefs.c+2 -10 replies
3/4upload-pack: support hidden refs with protocol v2ls-refs.c t/t5512-ls-remote.sh+18 -00 replies
4/4fetch-pack: support protocol version 2builtin/fetch-pack.c t/t5500-fetch-pack.sh+21 -103 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/4] protocol v2 fixes

The v2 of this series conflicted with Josh Steadmon's work when merged in "pu". That's still outstanding, see
https://public-inbox.org/git/[email protected]/

Then my just-sent
https://public-inbox.org/git/[email protected]/
conflicts with even more things in it.

So I'm dropping "GIT_TEST_PROTOCOL_VERSION" for now until things settle down. That can land after all this protocol activity settles.

No changes to Jeff's patches since v2, for Jonathan's no changes to the C code, but I added a test which I extracted from the GIT_TEST_PROTOCOL_VERSION=2 work.

Jeff King (3):
serve: pass "config context" through to individual commands
parse_hide_refs_config: handle NULL section
upload-pack: support hidden refs with protocol v2

Jonathan Tan (1):
fetch-pack: support protocol version 2

 builtin/fetch-pack.c  |  9 ++++++---
 builtin/upload-pack.c |  1 +
 ls-refs.c             | 16 +++++++++++++++-
 ls-refs.h             |  3 ++-
 refs.c                |  3 ++-
 serve.c               |  9 +++++----
 serve.h               |  7 +++++++
 t/t5500-fetch-pack.sh | 22 +++++++++++++++-------
 t/t5512-ls-remote.sh  |  6 ++++++
 upload-pack.c         |  4 ++--
 upload-pack.h         |  4 ++--
 11 files changed, 63 insertions(+), 21 deletions(-)
Signature · 1 line
2.20.0.405.gbc1bbc6f85