diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-09-21 00:20:43 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-09-21 00:20:43 +0200 |
commit | 5331af2352be0d6dd57a5fc4c5dfce278cf911c7 (patch) | |
tree | 40828a511f8bfc5c31b5be61339f2d32ab6608d9 /protocol-caps.c | |
parent | Merge branch 'ar/submodule-add-more' (diff) | |
parent | upload-pack: document and rename --advertise-refs (diff) | |
download | git-5331af2352be0d6dd57a5fc4c5dfce278cf911c7.tar.xz git-5331af2352be0d6dd57a5fc4c5dfce278cf911c7.zip |
Merge branch 'ab/serve-cleanup'
Code clean-up around "git serve".
* ab/serve-cleanup:
upload-pack: document and rename --advertise-refs
serve.[ch]: remove "serve_options", split up --advertise-refs code
{upload,receive}-pack tests: add --advertise-refs tests
serve.c: move version line to advertise_capabilities()
serve: move transfer.advertiseSID check into session_id_advertise()
serve.[ch]: don't pass "struct strvec *keys" to commands
serve: use designated initializers
transport: use designated initializers
transport: rename "fetch" in transport_vtable to "fetch_refs"
serve: mark has_capability() as static
Diffstat (limited to 'protocol-caps.c')
-rw-r--r-- | protocol-caps.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/protocol-caps.c b/protocol-caps.c index 901b6795e4..bbde91810a 100644 --- a/protocol-caps.c +++ b/protocol-caps.c @@ -75,8 +75,7 @@ static void send_info(struct repository *r, struct packet_writer *writer, strbuf_release(&send_buffer); } -int cap_object_info(struct repository *r, struct strvec *keys, - struct packet_reader *request) +int cap_object_info(struct repository *r, struct packet_reader *request) { struct requested_info info; struct packet_writer writer; |