]> git.ipfire.org Git - thirdparty/git.git/commit - ls-refs.c
ls-refs: introduce ls-refs server command
authorBrandon Williams <bmwill@google.com>
Thu, 15 Mar 2018 17:31:20 +0000 (10:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Mar 2018 19:01:08 +0000 (12:01 -0700)
commit72d0ea0056b8656765748a8bdeb42ee26ee1c8dc
tree217681956effcfb8fb772c2d9ae297594ca1aea7
parented10cb952d315ae47d2f7f6f29333a9ee227bf6b
ls-refs: introduce ls-refs server command

Introduce the ls-refs server command.  In protocol v2, the ls-refs
command is used to request the ref advertisement from the server.  Since
it is a command which can be requested (as opposed to mandatory in v1),
a client can sent a number of parameters in its request to limit the ref
advertisement based on provided ref-prefixes.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/protocol-v2.txt
Makefile
ls-refs.c [new file with mode: 0644]
ls-refs.h [new file with mode: 0644]
serve.c
t/t5701-git-serve.sh