fetch-pack: perform a fetch using v2
When communicating with a v2 server, perform a fetch by requesting the 'fetch' command. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
3145ea957d
commit
685fbd3291
2
serve.c
2
serve.c
@ -55,7 +55,7 @@ struct protocol_capability {
|
||||
static struct protocol_capability capabilities[] = {
|
||||
{ "agent", agent_advertise, NULL },
|
||||
{ "ls-refs", always_advertise, ls_refs },
|
||||
{ "fetch", always_advertise, upload_pack_v2 },
|
||||
{ "fetch", upload_pack_advertise, upload_pack_v2 },
|
||||
};
|
||||
|
||||
static void advertise_capabilities(void)
|
||||
|
||||
Reference in New Issue
Block a user