]> git.ipfire.org Git - thirdparty/git.git/commit - fetch-pack.c
fetch-pack: support shallow requests
authorBrandon Williams <bmwill@google.com>
Thu, 15 Mar 2018 17:31:29 +0000 (10:31 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 15 Mar 2018 19:01:09 +0000 (12:01 -0700)
commitf7e205010542dc9b712473d260058e43ca2b26f7
tree503fc2d33b308537fcd04626278476c9ba591614
parent685fbd32916f3e94bc89aa14e8fdce835b06f801
fetch-pack: support shallow requests

Enable shallow clones and deepen requests using protocol version 2 if
the server 'fetch' command supports the 'shallow' feature.

Signed-off-by: Brandon Williams <bmwill@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/technical/protocol-v2.txt
connect.c
connect.h
fetch-pack.c