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 /ls-refs.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 'ls-refs.c')
-rw-r--r-- | ls-refs.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -139,8 +139,7 @@ static int ls_refs_config(const char *var, const char *value, void *data) return parse_hide_refs_config(var, value, "uploadpack"); } -int ls_refs(struct repository *r, struct strvec *keys, - struct packet_reader *request) +int ls_refs(struct repository *r, struct packet_reader *request) { struct ls_refs_data data; |