Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2021-09-21 01:20:43 +0300
committerJunio C Hamano <gitster@pobox.com>2021-09-21 01:20:43 +0300
commit5331af2352be0d6dd57a5fc4c5dfce278cf911c7 (patch)
tree40828a511f8bfc5c31b5be61339f2d32ab6608d9 /ls-refs.c
parentbbeca063cfeecda2f68fd2cb4ce4dbe797be8981 (diff)
parent98e2d9d6f7dc1aff61e99a1daed98e18c7c8526b (diff)
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ls-refs.c b/ls-refs.c
index 5ad521c6c7..be09568910 100644
--- a/ls-refs.c
+++ b/ls-refs.c
@@ -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;